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 ...>]
Requirements
aiohttp
beautifulsoup4
lxml
Install
$ python -m pip install -U classcharts.py
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.1.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for classcharts.py-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a31671287c7df5a793188f186dfe6fede4a08de184f2f715418da4964cb1a2b |
|
MD5 | d97024e7a60adc0d4d2260d7d967dcb0 |
|
BLAKE2b-256 | 2b1e85c1a506c02d1c39807c99bd58c777fefafc2811d8903995b49df63c8482 |