Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not really an issue... but personalized schedules? #28

Open
k15z opened this issue Aug 30, 2014 · 2 comments
Open

Not really an issue... but personalized schedules? #28

k15z opened this issue Aug 30, 2014 · 2 comments
Labels

Comments

@k15z
Copy link

k15z commented Aug 30, 2014

This isn't really an issue, but it would be cool if we could get personalized schedules. Here is a demo: http://notpri.me/bellschedule/. (You can use username: "15JoeQ" and an empty password if you don't want to use your own credentials. Demo code: http://notpri.me/bellschedule/external.js)

@Andrew-Tierno
Copy link
Contributor

@k15z Could you talk through how the api works? For instance, do students manually enter their schedules in or do they need to provide their actual Harker login and the api handles the classes for them? Furthermore, are they required to have a HarkerX account in order to customize on the bellschedule site?

@k15z
Copy link
Author

k15z commented Aug 31, 2014

@Andrew-Tierno The api does require their actual Harker login the first time, but after that, it uses the cookie returned by the harker website to download their schedule. The password is never stored, it is simply passed on to the harker website.

A harkerX account basically speeds up loading time by caching your cookie; it isn't required, but it cuts the loading time in half. (caching is on by default - if you send 'do_not_cache' as a GET parameter, cookie caching will be disabled.)

Server-side code: https://github.com/k15z/harker-student-api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants