A python and php wrapper for the api somtoday uses in their mobile app
It uses a GPL licence, wich is summarized here.
The school abbreveations can be found here
- Extract into a folder
python setup.py install
- ???
- SUCCES!
From somtoday import * #import everything this module has to offer
som=Somtoday("henk","mypassword","myschool","dembrin") #create a new somtoday object
for vak in som.gethomework(): #print the subject for you have homework for in the coming 2 weeks.
print vak["vak"]
som.changehomeworkstatus("6374673","7364736", True)#mark homework done
questions? [email protected]
Stephan Meijer was feeling inspirated and rewrote this api in PHP.
- Download the file
- Put it in the same folder as the script you would like to use it in
include "Somtoday.php"
- Make a neat gun for the people who are still alive!
questions? [email protected]