No project description provided
Project description
pyhctb
This is an API layer for getting school bus transit coordinates from Here Comes The Bus.
To install this package, simply run:
pip install pyhctb
To use pyhctb
, run the following command, replacing USERNAME
, PASSWORD
, and SCHOOL_CODE
with your own credentials:
python -m pyhctb --user USERNAME --password PASSWORD --code SCHOOL_CODE
You should get a final output that looks something like the following (but with actual values):
{
"legacyID": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"name": "Johnny Everyboy",
"timeSpanId": "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj",
"latitude": "70.92797",
"longitude": "-74.29596"
}
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
pyhctb-0.0.5.tar.gz
(4.4 kB
view hashes)
Built Distribution
pyhctb-0.0.5-py3-none-any.whl
(5.4 kB
view hashes)