Skip to main content

A package for accessing the UMD API in Python

Project description

UMD API

UMD API Docs (umd_api/general)

https://beta.umd.io/

PlanetTerp (umd_api/planet_terp)

https://planetterp.com/api/

PyPI

https://pypi.org/project/umd-api

Installation

pip install umd-api

Initialization

from umd_api.general import Bus, Courses, Majors, Map, Professors 

bus = Bus()
courses = Courses()
majors = Majors()
map_ = Map()
professors = Professors()
from umd_api.planet_terp import Search, Grades, Professors, Courses

search = Search()
grades = Grades()
professors = Professors()
courses = Courses()

Methods

General

Bus

  • list_routes()
  • view_specific_routes(route_ids)
  • list_stops()
  • get_specific_stops(stop_ids : list)
  • current_bus_locations_by_route(route_id) (UMD.IO API IS BROKEN HERE)
  • bus_schedules(route_id)
  • get_arrivals_for_stop(route_id, stop_id)

Courses

  • list_courses(sort=None, page=None, per_page=None, semester=None, credits=None, dept_id=None, gen_ed=None)
  • list_minified_courses(sort=None, page=None, per_page=None, semester=None)
  • list_sections(sort=None, page=None, per_page=None, course_id=None, seats=None, open_seats=None, waitlist=None, semester=None)
  • view_specific_sections(section_ids : list)
  • view_specific_courses(course_ids : list, semester=None)
  • view_sections_for_course(course_ids : list, semester=None)
  • view_specific_sections_for_course(course_ids : list, section_ids : list)
  • list_semesters()
  • list_departments()

Majors

  • list_majors()

Map

  • list_buildings()
  • get_buildings(building_id : list)

Professors

  • get_professor(name: str, reviews=False)
  • get_all_professors(type=None, reviews=False, limit=100, offset=0)
PlanetTerp

Search

  • search(query, limit=30, offset=0)

Grades

  • get_grades(course=None, professor=None, semester=None, section=None)

Professors

  • get_professor(name: str, reviews=False)
  • get_all_professors(type=None, reviews=False, limit=100, offset=0)

Courses

  • get_course(name, reviews=False)
  • get_courses(department=None, reviews=False, limit=100, offset=0)

Wakatime (Time Spent Programming)

wakatime

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

umd_api-0.65.2.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

umd_api-0.65.2-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file umd_api-0.65.2.tar.gz.

File metadata

  • Download URL: umd_api-0.65.2.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for umd_api-0.65.2.tar.gz
Algorithm Hash digest
SHA256 f4715e5bcd0c9016684d8aa5c13a8e0e353c2d05a0ae846d4f3322a26460a653
MD5 7f5fbdb3bf3283bec77783eb14f4f9f4
BLAKE2b-256 6f47b000fac19c967670e9452093cac3a3bac45ae6de980c1818639c88f7163e

See more details on using hashes here.

File details

Details for the file umd_api-0.65.2-py3-none-any.whl.

File metadata

  • Download URL: umd_api-0.65.2-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for umd_api-0.65.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fff855a6a93e8adfd10eb030bc6d081e304683b0de6099192cff1e6433f79657
MD5 5e244639f16136b3fc80d8ffec81b8c4
BLAKE2b-256 b631fbb4f8848e0e971d3b1d6ec2d7fb601a6cf7694fe8c062c91b1d05b5c75e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page