Skip to main content

UMD API

API Source


UMD API Docs (umd_api/general)

https://beta.umd.io/

PlanetTerp (umd_api/planet_terp)

https://planetterp.com/api/

Weather (umd_api/weather)

https://weather.umd.edu

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()
from umd_api.weather import Weather

weather = Weather()

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

Weather

  • get_weather_data(station="", start_time="", end_time=")
  • save_radar_gif()
  • get_weather_descrption()

Wakatime (Time Spent Programming)

wakatime

wakatime

Combine the two for total time

Metadata

Release files for umd-api 0.65.89

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for umd-api 0.65.89
File Size Uploaded Provenance Actions
umd_api-0.65.89.tar.gz 11.3 kB Without provenance Details for umd_api-0.65.89.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for umd-api 0.65.89
File Interpreter ABI Platform Actions
umd_api-0.65.89-py3-none-any.whl Python 3 none any Details for umd_api-0.65.89-py3-none-any.whl

Total release size: 25.1 kB

Release files / umd_api-0.65.89.tar.gz

Download URL umd_api-0.65.89.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b06d992743b392e0ee3b4b04801a35071b34eb0f652c86b2f84fcc7739828a1e
BLAKE2b-256 checksum
How to use checksums
fa7d7bba1539710b7bafca3f7279d433d4fa2806a37031f9342e1ac03137e6fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / umd_api-0.65.89-py3-none-any.whl

Download URL umd_api-0.65.89-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8385aad3d185b533d8b8003ed2b44c0e5e1e0f3ec8e63688df378e75579bfca8
BLAKE2b-256 checksum
How to use checksums
b8c8e705ba67ce4cfc0b33971e1691f68ac9d915829b350a4ebc0992e0790bf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for umd-api 0.65.89

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page