# pyhctb
This is an API layer for getting school bus transit coordinates from [Here Comes The Bus](https://herecomesthebus.com/).
To install this package, simply run:
```bash
pip install pyhctb
```
To use `pyhctb`, run the following command, replacing `USERNAME`, `PASSWORD`, and `SCHOOL_CODE` with your own credentials:
```bash
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):
```json
{
"legacyID": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"name": "Johnny Everyboy",
"timeSpanId": "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj",
"latitude": "70.92797",
"longitude": "-74.29596"
}
```
Raw data
{
"_id": null,
"home_page": "https://www.github.com/dmyoung9/pyhctb/",
"name": "pyhctb",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "David Young",
"author_email": "dmyoung9@asu.edu",
"download_url": "https://files.pythonhosted.org/packages/81/cb/0bbd72b4116c6570ad10235f1d77957013bc6a371d711efbaf1b1a1acc0b/pyhctb-0.0.5.tar.gz",
"platform": null,
"description": "# pyhctb\n\nThis is an API layer for getting school bus transit coordinates from [Here Comes The Bus](https://herecomesthebus.com/).\n\nTo install this package, simply run:\n\n```bash\npip install pyhctb\n```\n\nTo use `pyhctb`, run the following command, replacing `USERNAME`, `PASSWORD`, and `SCHOOL_CODE` with your own credentials:\n\n```bash\npython -m pyhctb --user USERNAME --password PASSWORD --code SCHOOL_CODE\n```\n\nYou should get a final output that looks something like the following (but with actual values):\n\n```json\n{\n \"legacyID\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"name\": \"Johnny Everyboy\",\n \"timeSpanId\": \"ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj\",\n \"latitude\": \"70.92797\",\n \"longitude\": \"-74.29596\"\n}\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "",
"version": "0.0.5",
"project_urls": {
"Homepage": "https://www.github.com/dmyoung9/pyhctb/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e7704f263ce1f668b6d2975425f0228a7aed9e317c518c58cb3a226e4d3b529c",
"md5": "776084b1854abf56610071c1b47f141b",
"sha256": "7591e81916277662620f54aec898921d10fbc34908e39ab66e08cbe3c6f229af"
},
"downloads": -1,
"filename": "pyhctb-0.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "776084b1854abf56610071c1b47f141b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11,<4.0",
"size": 5448,
"upload_time": "2023-08-31T13:16:37",
"upload_time_iso_8601": "2023-08-31T13:16:37.106864Z",
"url": "https://files.pythonhosted.org/packages/e7/70/4f263ce1f668b6d2975425f0228a7aed9e317c518c58cb3a226e4d3b529c/pyhctb-0.0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "81cb0bbd72b4116c6570ad10235f1d77957013bc6a371d711efbaf1b1a1acc0b",
"md5": "9e935b400210911f45f04f4f7f5bba78",
"sha256": "0b53bafedfb81f90beecc5ec609eb5db530cabda17b9a75c93b06b0a7f2a654a"
},
"downloads": -1,
"filename": "pyhctb-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "9e935b400210911f45f04f4f7f5bba78",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11,<4.0",
"size": 4439,
"upload_time": "2023-08-31T13:16:39",
"upload_time_iso_8601": "2023-08-31T13:16:39.683807Z",
"url": "https://files.pythonhosted.org/packages/81/cb/0bbd72b4116c6570ad10235f1d77957013bc6a371d711efbaf1b1a1acc0b/pyhctb-0.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-31 13:16:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dmyoung9",
"github_project": "pyhctb",
"github_not_found": true,
"lcname": "pyhctb"
}