Python API for interacting with Dartmouth Banner
# dartmouth_banner Python API for interacting with Dartmouth Banner.
This utilizes the requests library and some cookie setting to mimic a browser so that you can log in. Currently, the class allow you to log in, logout, get your GPA and DBA levels, and add/drop courses given the course ID. New features will be coming soon.
from dartmouth_banner import BannerConnection
connection = BannerConnection() connection.login(“<username>”, “<password>”)
print connection.gpa() print connection.dba() connection.addCourse(95799) connection.dropCourse(96111)
For now, just download the dartmouth_banner.py file. I’ll make it more easily accessible with a setup.py file in a bit.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size dartmouth_banner-1.0.0.tar.gz (3.7 kB)||File type Source||Python version None||Upload date||Hashes View|