This is a python library for fetching infos from supplierplan.at
- python >= 2.4
- BeautifulSoup
from supppl import Supplierplan sp = Supplierplan(school=SCHOOLID, usr=USRNAME, pw=PASS, cl=CLASS) if sp.check_supps(): plan = sp.proc_html() print plan
optionally you can also specify a proxy:
without authentication support:
sp = Supplierplan(school=SCHOOLID, usr=USRNAME, pw=PASS, cl=CLASS, proxy={'http': 'http://your_proxy.com'})
with auth support:
sp = Supplierplan(school=SCHOOLID, usr=USRNAME, pw=PASS, cl=CLASS, auth=True, proxy={'user': 'yourusername', 'pass': 'yourpassword', 'host': 'yourhost.com', 'port': 1337})