Skip to content

A php wrapper for the api somtoday uses in their mobile app

License

Notifications You must be signed in to change notification settings

RickBakkr/somtoday_api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Somtoday api

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

Python

Installation

  1. Extract into a folder
  2. python setup.py install
  3. ???
  4. SUCCES!

Examples

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

Footnote

questions? [email protected]

PHP

Stephan Meijer was feeling inspirated and rewrote this api in PHP.

Installation

  1. Download the file
  2. Put it in the same folder as the script you would like to use it in
  3. include "Somtoday.php"
  4. Make a neat gun for the people who are still alive!

Footnote

questions? [email protected]

About

A php wrapper for the api somtoday uses in their mobile app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 56.4%
  • PHP 43.6%