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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pyhctb-0.0.5.tar.gz.

File metadata

  • Download URL: pyhctb-0.0.5.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.0 Windows/10

File hashes

Hashes for pyhctb-0.0.5.tar.gz
Algorithm Hash digest
SHA256 0b53bafedfb81f90beecc5ec609eb5db530cabda17b9a75c93b06b0a7f2a654a
MD5 9e935b400210911f45f04f4f7f5bba78
BLAKE2b-256 81cb0bbd72b4116c6570ad10235f1d77957013bc6a371d711efbaf1b1a1acc0b

See more details on using hashes here.

File details

Details for the file pyhctb-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: pyhctb-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.0 Windows/10

File hashes

Hashes for pyhctb-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7591e81916277662620f54aec898921d10fbc34908e39ab66e08cbe3c6f229af
MD5 776084b1854abf56610071c1b47f141b
BLAKE2b-256 e7704f263ce1f668b6d2975425f0228a7aed9e317c518c58cb3a226e4d3b529c

See more details on using hashes here.

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