-
Notifications
You must be signed in to change notification settings - Fork 1
Gather API keys for transit feeds that require them #29
Description
Summary:
From #8, which implemented the CsvDownloader:
A note for our internal processing tools - we need to compile API keys for the following transit agencies and add them to our CSV file (or otherwise figure out why they aren't working). See below for list from #8):
List of feeds from TransitFeeds.com we need API keys for, along with dev website URL
- BART Trip Updates - https://www.bart.gov/schedules/developers/gtfs-realtime
- BART Alerts - https://www.bart.gov/schedules/developers/gtfs-realtime
- VIA TU, VP, Service Alerts - http://www.viainfo.net/developers-resources/
- Metra Trip Updates - https://metrarail.com/developers (Requested API key via online form on Feb 7, 2018. Got key on Feb 13, not sure what to do with it - I emailed to ask. Turns out this requires HTTP basic authentication, which I've ticketed in Support downloading feeds with HTTP basic authentication #31.)
- Metra Vehicle Positions - https://metrarail.com/developers (Requested API key via online form on Feb 7, 2018. Got key on Feb 13, not sure what to do with it - I emailed to ask. Turns out this requires HTTP basic authentication, which I've ticketed in Support downloading feeds with HTTP basic authentication #31.)
- Metra Service Alerts - https://metrarail.com/developers (Requested API key via online form on Feb 7, 2018. Got key on Feb 13, not sure what to do with it - I emailed to ask. Turns out this requires HTTP basic authentication, which I've ticketed in Support downloading feeds with HTTP basic authentication #31.)
- [ ] NJ Transit GTFS-realtime - http://www.njtransit.com/developersAs of Feb 7, 2018 doesn't appear to have a GTFS-realtime feed - Auckland Transport Trip Updates - https://api.at.govt.nz (I submitted an application registration on Feb 7, 2018. From an initial look, it doesn't seem like they have a GTFS zip file or protobuf GTFS-realtime messages. Instead, there are individual REST APIs that you can get JSON responses from)
- Auckland Transport Vehicle Locations - https://api.at.govt.nz (I submitted an application registration on Feb 7, 2018. From an initial look, it doesn't seem like they have a GTFS zip file or protobuf GTFS-realtime messages. Instead, there are individual REST APIs that you can get JSON responses from)
- AC Transit Vehicle Positions - http://api.actransit.org/transit/
- AC Transit Service Alerts - http://api.actransit.org/transit/
- AC Transit Trip Updates - http://api.actransit.org/transit/
- Capital Metro Service Alerts - https://www.capmetro.org/metrolabs/
- Capital Metro Vehicle Positions - https://www.capmetro.org/metrolabs/
- Capital Metro Trip Updates - https://www.capmetro.org/metrolabs/
- Sound Transit Vehicle Positions - http://www.soundtransit.org/Developer-resources/Data-downloads
- Sound Transit Trip Updates - http://www.soundtransit.org/Developer-resources/Data-downloads
- Intercity Transit Vehicle Positions - http://www.soundtransit.org/Developer-resources/Data-downloads
- Intercity Transit Trip Updates - http://www.soundtransit.org/Developer-resources/Data-downloads
- Pierce Transit Vehicle Positions - http://www.soundtransit.org/Developer-resources/Data-downloads
- Pierce Transit Trip Updates - http://www.soundtransit.org/Developer-resources/Data-downloads
- KCM Vehicle Positions - http://www.soundtransit.org/Developer-resources/Data-downloads
- KCM Trip Updates - http://www.soundtransit.org/Developer-resources/Data-downloads
- Long Island Rail Road Trip Updates - http://datamine.mta.info
- Metro-North Railroad Trip Updates - http://datamine.mta.info
- NYC Subway Real-Time Estimates (Staten Island Railway) - http://datamine.mta.info/
- NYC Subway Real-Time Estimates (L Train) - http://datamine.mta.info/
- NYC Subway Real-Time Estimates - http://datamine.mta.info/
- TriMet Trip Updates - http://developer.trimet.org/GTFS.shtml
- TriMet Alerts - http://developer.trimet.org/GTFS.shtml
- AMT Vehicle Positions - http://amt.qc.ca/developers/
- AMT Alerts - http://amt.qc.ca/developers/
- AMT Trip Updates - http://amt.qc.ca/developers/
- TransLink SEQ Vehicle Positions & Trip Updates - https://gtfsrt.api.translink.com.au/
We may also need to include Denver RTD as well - here's the error message we're currently getting for those URLs:
Error reading GTFS-realtime feed 'http://www.rtd-denver.com/google_sync/VehiclePosition.pb' - java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.rtd-denver.com/google_sync/VehiclePosition.pb
Error reading GTFS-realtime feed 'http://www.rtd-denver.com/google_sync/TripUpdate.pb' - java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.rtd-denver.com/google_sync/TripUpdate.pb
Steps to reproduce:
Run the tool using both the TransitFeeds.com API and our CSV file
Expected behavior:
Download feeds successfully from the above URLs (e.g., if they require API keys, add them to our CsvDownloader)
Observed behavior:
We can't automatically process these feeds from the TransitFeeds.com API
Platform:
Windows 7 Enterprise SP1 with Java 64bit 9.0.1