Skip to main content

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


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)

Uploaded Source

Built Distribution

pyhctb-0.0.5-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page