A python wrapper for the Classcharts API
Project description
classcharts.py
An unofficial API wrapper for the ClassCharts homework and student API. It is work-in-progress.
Examples
Examples are using the asyncio REPL.
>>> import asyncio
>>> import datetime
>>> import classcharts
>>> hc = classcharts.HomeworkClient("Your_School_Here")
>>> await hc.request(datetime.datetime.now(), 7)
[<Homework ...>, <Homework ...>]
>>> import asyncio
>>> import datetime
>>> import classcharts
>>> sc = classcharts.StudentClient("MYC0D3", datetime.datetime(year=1970, month=1, day=1))
>>> await sc.detentions()
[<Detention ...>, <Detention ...>]
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
classcharts.py-0.1.0.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for classcharts.py-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 075f9b87b2872f74370243f575d8378802b19595186f9f71fab13ebc8400bf65 |
|
MD5 | fbe50a68a6a9778406b82dc7083f8f56 |
|
BLAKE2b-256 | ee78bcdb3864193addd53d7d1b739c19aedebff16ee80e9166e36c4e524f16d6 |