{"id":15726905,"url":"https://github.com/grasmash/bart-api-php-sdk","last_synced_at":"2025-03-31T01:51:11.194Z","repository":{"id":66224352,"uuid":"11616952","full_name":"grasmash/bart-api-php-sdk","owner":"grasmash","description":"Provides a PHP SDK for the BART API","archived":false,"fork":false,"pushed_at":"2013-07-23T19:28:28.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T07:13:39.370Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grasmash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-23T19:19:39.000Z","updated_at":"2013-11-29T05:01:38.000Z","dependencies_parsed_at":"2023-02-20T00:20:23.635Z","dependency_job_id":null,"html_url":"https://github.com/grasmash/bart-api-php-sdk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grasmash%2Fbart-api-php-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grasmash%2Fbart-api-php-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grasmash%2Fbart-api-php-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grasmash%2Fbart-api-php-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grasmash","download_url":"https://codeload.github.com/grasmash/bart-api-php-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246403903,"owners_count":20771527,"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","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-10-03T22:41:51.516Z","updated_at":"2025-03-31T01:51:11.162Z","avatar_url":"https://github.com/grasmash.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"BART PHP SDK\n================\n\nProvides a PHP SDK for the [BART API](http://www.bart.gov/schedules/developers/api.aspx).\n\n## Usage\n\n### Instantiating a connection object.\n\nBefore making requests to BART API, you need to instatiate a bart object, which\nwill verify your API key and return the BART API version.\n\n    require_once(\"bart.php\");\n    $key = 'yourAPIkey';\n    $bart = new Bart($key);\n    print 'Using BART API version ' . $bart-\u003eversion;\n\n### Real Time Estimates\n    // All stations.\n    $rte_data = $bart-\u003egetRealTimeEstimate();\n\n    // Richmond station.\n    $rte_data = $bart-\u003egetRealTimeEstimate('rich');\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrasmash%2Fbart-api-php-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrasmash%2Fbart-api-php-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrasmash%2Fbart-api-php-sdk/lists"}