A POC for login (and maybe more) to the Skolplattformen Student portal written in C#.
The end goal is to create an app for students. This repo is used to find out the inner workings of all things Skolplattformen. It may or may not be a part of the final product.
Some parts are working. Code is still a mess. Ongoing guesswork....
- Login to the Sharepoint part, AzureApi (calendar, user info), absence and timetable is working. Others untested.
- Getting a list of news items and a single news item is partly done.
- Getting absence list
- Getting timetable
- Getting student calendar entries
- Getting school calendar entries (Kalendarium)
- Getting user info
- Getting school info
- Getting list och teachers
- Enrich timetable with curriculum and teachers' names to get a human readable output
- Enrich teachers with curriculum, so we can list teachers and the subjects they teach
You will need to have access to a student account in Skolplattformen.
Please file issues and requests.
- Clone repo
- Copy elev-template.json to elev.json and fill in the login details (elev.json is .gitignored)
- Get Visual Studio (free Community edition is enough) from https://visualstudio.microsoft.com/
- Open Solution and run/debug SkolplattformenElevDemo
- Get and install .NET 6 from https://dotnet.microsoft.com/en-us/download/dotnet/6.0
- Install tooling for your editor for debugging
dotnet restore
cd src/SkolplattformenElevDemo
dotnet run