Skip to main content

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.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

sfu_api-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file sfu_api-0.1.0.tar.gz.

File metadata

  • Download URL: sfu_api-0.1.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for sfu_api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 09136c6e2a8bf3ffe41fd235b2c5547650e5b574152fd81eb375000b13a6fbcf
MD5 a594bb4c0e2e499b2a6013cd7b2ebaa5
BLAKE2b-256 1fd95aee660731878dd8c15bc8ce6e37cc34a73843635925368e9bc67a64fdd5

See more details on using hashes here.

File details

Details for the file sfu_api-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sfu_api-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for sfu_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77accb3a15423f39b11cf64cdc65e17b022dc7140bc0d603fc11ee0b5e34bd42
MD5 0eb944d705ca339c0957444f4e787cb0
BLAKE2b-256 7050e4760951dd19c1d7434246295f1ff50f7b35425d9b71990cd0f3d86dd4b0

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