Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 929 Bytes

README.rst

File metadata and controls

36 lines (24 loc) · 929 Bytes

supplierplan.at reader lib

This is a python library for fetching infos from supplierplan.at

Requirements

Documentation

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})