Skip to content

dmyoung9/pyhctb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages