Skip to content

planetterp/PlanetTerp-API-Python-Wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlanetTerp API Python Wrapper

This is a Python wrapper around the PlanetTerp API.

To install, either use the code on GitHub, or install with pip install planetterp (you might need to run pip3 install planetterp).

Example usage

import planetterp

course = planetterp.course(name="MATH140", reviews=True)
courses = planetterp.courses(department="MATH", limit=2)
# replace Jon Snow with the name of any professor
prof = planetterp.professor(name="Jon Snow", reviews="true")
profs = planetterp.professors(type_="ta", limit=2)
# same here
grades = planetterp.grades(course="MATH140", professor="Jon Snow")

print(course)
print(courses)
print(prof)
print(profs)
print(grades)

About

Examples for using the PlanetTerp API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages