A JSON API for FCPS StudentVUE
git clone https://github.com/ovkulkarni/sis-api.gitCreate sis_api/secret.py similar to the example below:
from base.crypto import AESCipher
SIS_ENDPOINT = "https://sisstudent.fcps.edu/SVUE/Service/PXPCommunication.asmx"
SECRET_KEY = "secret"
DEBUG = True
CIPHER = AESCipher(SECRET_KEY)
FCM_SERVER_KEY = ""Run the following commands
mkvirtualenv sis-api -p python3
pip install -r requirements.txt
./manage.py migrate
./manage.py createcachetableIN PRODUCTION ONLY
Create a crontab entry similar to the one below (make sure the interval is less than 30 minutes)
*/20 * * * * python manage.py check_for_updates
- This application uses fcm_django to send notifications
- Passing
?save_passwordin theGETquerystring or thePOSTdata will encrypt and save the user's password to the database so that notifications can be sent. - Passing
?forcein theGETquerystring will bypass the server cache and request the data from SIS - The application utilizes HTTP Basic Auth for authentication