A client for SFU's course outline API.
Project description
sfu-api
A client for SFU's course outline API.
Examples
Printing all the terms of the first year
client = sfu_api.Client()
years = client.get_years()
terms = client.get_terms(years[0])
for term in terms:
print(term)
# summer
# fall
Getting the course description for MATH 150 D101 (Calculus I with Review) in the Summer 2023 term
client = sfu_api.Client()
outline = client.get_outline("2023", "summer", "math", "150", "d101")
print(outline.info.description)
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
sfu_api-0.1.4.tar.gz
(13.6 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
File details
Details for the file sfu_api-0.1.4.tar.gz.
File metadata
- Download URL: sfu_api-0.1.4.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d9af15cc8efc4853d33db67fbd18f2ed7b48b85968f085a79c7a8be4e6e5fd3
|
|
| MD5 |
eb59bc71b503164eb2f499d0daf7bb61
|
|
| BLAKE2b-256 |
6437f1fd51d8c3aa4c6782f498a2e97697532b820abc82e7b15537b877511127
|
File details
Details for the file sfu_api-0.1.4-py3-none-any.whl.
File metadata
- Download URL: sfu_api-0.1.4-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de7dda09686d857c8e7dc3a8f56f5f6b38e5d8c3e974fac84a654d7a275f9acf
|
|
| MD5 |
7311afca9cc3d0d7bbf475e4f9b1d940
|
|
| BLAKE2b-256 |
02916eb9be8c2eb0b3aa0aa271b1915c294c9165c639b087917dd4f3f4e0a576
|