Skip to content

Commit

Permalink
Update example URLS to real URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
brendannee committed Nov 19, 2024
1 parent dee39b7 commit e80bc58
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,6 @@ Copy `config-sample.json` to `config.json` and then add your projects configurat
For GTFS files that contain more than one agency, you only need to list each GTFS file once in the `agencies` array, not once per agency that it contains.
To find an agency's GTFS file, visit [transitfeeds.com](http://transitfeeds.com).
#### agencies options
| option | type | description |
Expand All @@ -188,7 +186,7 @@ To find an agency's GTFS file, visit [transitfeeds.com](http://transitfeeds.com)
{
"agencies": [
{
"url": "https://opendata.somewhere.com/gtfs.zip"
"url": "https://www.bart.gov/dev/schedules/google_transit.zip"
}
]
}
Expand All @@ -200,7 +198,7 @@ To find an agency's GTFS file, visit [transitfeeds.com](http://transitfeeds.com)
{
"agencies": [
{
"url": "https://opendata.somewhere.com/gtfs.zip",
"url": "https://www.bart.gov/dev/schedules/google_transit.zip",
"headers": {
"Content-Type": "application/json",
"Authorization": "bearer 1234567890"
Expand Down Expand Up @@ -253,21 +251,21 @@ To find an agency's GTFS file, visit [transitfeeds.com](http://transitfeeds.com)
{
"agencies": [
{
"url": "https://opendata.somewhere.com/gtfs.zip",
"url": "https://www.bart.gov/dev/schedules/google_transit.zip",
"realtimeAlerts": {
"url": "https://opendata.somewhere.com/gtfs-rt/alerts",
"url": "https://api.bart.gov/gtfsrt/alerts.aspx",
"headers": {
"Authorization": "bearer 123456789"
}
},
"realtimeTripUpdates": {
"url": "https://opendata.somewhere.com/gtfs-rt/tripupdates",
"url": "https://api.bart.gov/gtfsrt/tripupdate.aspx",
"headers": {
"Authorization": "bearer 123456789"
}
},
"realtimeVehiclePositions": {
"url": "https://opendata.somewhere.com/gtfs-rt/vehiclepositions",
"url": "https://api.bart.gov/gtfsrt/vehiclepositions.aspx",
"headers": {
"Authorization": "bearer 123456789"
}
Expand Down Expand Up @@ -400,15 +398,15 @@ importGtfs({
{
"agencies": [
{
"url": "https://agency.com/gtfs.zip",
"url": "https://www.bart.gov/dev/schedules/google_transit.zip",
"realtimeAlerts": {
"url": "https://opendata.somewhere.com/gtfs-rt/alerts"
"url": "https://api.bart.gov/gtfsrt/alerts.aspx"
},
"realtimeTripUpdates": {
"url": "https://opendata.somewhere.com/gtfs-rt/tripupdates"
"url": "https://api.bart.gov/gtfsrt/tripupdate.aspx"
},
"realtimeVehiclePositions": {
"url": "https://opendata.somewhere.com/gtfs-rt/vehiclepositions"
"url": "https://api.bart.gov/gtfsrt/vehiclepositions.aspx"
}
}
],
Expand Down Expand Up @@ -477,7 +475,7 @@ import { importGtfs } from 'gtfs';
const config = {
agencies: [
{
url: 'https://opendata.somewhere.com/gtfs.zip',
url: 'https://www.bart.gov/dev/schedules/google_transit.zip',
exclude: ['shapes'],
},
],
Expand Down Expand Up @@ -527,7 +525,7 @@ const config = {
sqlitePath: '/dev/sqlite/gtfs',
agencies: [
{
url: 'https://opendata.somewhere.com/gtfs.zip',
url: 'https://www.bart.gov/dev/schedules/google_transit.zip',
exclude: ['shapes'],
},
],
Expand Down Expand Up @@ -607,7 +605,7 @@ const config = {
sqlitePath: '/dev/sqlite/gtfs',
agencies: [
{
url: 'https://opendata.somewhere.com/gtfs.zip',
url: 'https://www.bart.gov/dev/schedules/google_transit.zip',
exclude: ['shapes'],
},
],
Expand Down

0 comments on commit e80bc58

Please sign in to comment.