{"id":21306626,"url":"https://github.com/nikhilweee/path-api","last_synced_at":"2025-09-24T00:46:12.686Z","repository":{"id":255924479,"uuid":"853552376","full_name":"nikhilweee/path-api","owner":"nikhilweee","description":"Python API for PATH Trains","archived":false,"fork":false,"pushed_at":"2025-06-06T02:34:52.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-24T00:46:12.089Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nikhilweee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-06T22:27:17.000Z","updated_at":"2025-06-06T02:34:53.000Z","dependencies_parsed_at":"2024-09-11T06:50:07.786Z","dependency_job_id":null,"html_url":"https://github.com/nikhilweee/path-api","commit_stats":null,"previous_names":["nikhilweee/path-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nikhilweee/path-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilweee%2Fpath-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilweee%2Fpath-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilweee%2Fpath-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilweee%2Fpath-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikhilweee","download_url":"https://codeload.github.com/nikhilweee/path-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilweee%2Fpath-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276673795,"owners_count":25683943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-23T02:00:09.130Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T16:27:10.255Z","updated_at":"2025-09-24T00:46:12.640Z","avatar_url":"https://github.com/nikhilweee.png","language":"Python","readme":"# path-api\n\nA python implementation of the PATH API.\n\nMainly intended to be a replacement for the public API available at\nhttps://www.panynj.gov/bin/portauthority/ridepath.json\n\n# Setup\n\nInstall dependencies using your favourite package manager.\n\n```console\n$ uv sync\n```\n\n# Usage\n\n(One-time setup) Fetch the latest database.\n\n```console\n$ python path/db.py\n```\n\nListen to SignalR Hubs for new messages.\n\n```console\n$ python listen.py\n```\n\nStart a FastAPI server to serve data.\n\n```console\n$ fastapi run api.py\n```\n\nThe latest data should be available at http://localhost:8000/ridepath.json.\n\n# Docker\n\nSpin up containers for the listener and the API server using docker compose.\n\n```\n$ docker compose up -d\n```\n\n# References\n\n1. Matt Razza's [API](https://github.com/mrazza/path-data) written in C#\n1. Matt Razza's\n   [blog post](https://medium.com/@mrazza/programmatic-path-real-time-arrival-data-5d0884ae1ad6)\n   on Medium\n1. [Public API](https://www.panynj.gov/bin/portauthority/ridepath.json) on\n   panynj.gov\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhilweee%2Fpath-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikhilweee%2Fpath-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhilweee%2Fpath-api/lists"}