A package for accessing the UMD API in Python
Project description
UMD API
UMD API Docs (umd_api/general)
PlanetTerp (umd_api/planet_terp)
Weather (umd_api/weather)
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, Forecast
weather = Weather()
forecast = Forecast()
Modules
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=")get_hourly_forecast()save_radar_gif()get_weather_descrption()
Forecast
get_hourly_forecast()get_weekly_forecast()
Wakatime (Time Spent Programming)
Combine the two for total time
Project details
Release history Release notifications | RSS feed
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.85.tar.gz
(11.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
umd_api-0.65.85-py3-none-any.whl
(14.9 kB
view details)
File details
Details for the file umd_api-0.65.85.tar.gz.
File metadata
- Download URL: umd_api-0.65.85.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e043bffa96c87a1195b212eebb17c66b99890fe294bd3fb4a2c472b693982390
|
|
| MD5 |
3fdb549e8b69a9e10a0869df6346fccc
|
|
| BLAKE2b-256 |
316fe2495a888076a245d63a06e3896c1eee31121612d2db82dc6492c803f7e1
|
File details
Details for the file umd_api-0.65.85-py3-none-any.whl.
File metadata
- Download URL: umd_api-0.65.85-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c0921006d502481de2e22d3238e5b1a2d216efc9d77e4d2dcff01235024d95b
|
|
| MD5 |
1ea8dbfc5197c5039ed662b0f84d0751
|
|
| BLAKE2b-256 |
ac5714aecd55c92b0d4ba4397d025d3cba76f7e67037ea6f565c206d74b55088
|