Skip to content

Instantly share code, notes, and snippets.

@l-vincent-l
Last active April 5, 2017 15:42
Show Gist options
  • Save l-vincent-l/9585a3458e4b60bd24a659de83307f71 to your computer and use it in GitHub Desktop.
Save l-vincent-l/9585a3458e4b60bd24a659de83307f71 to your computer and use it in GitHub Desktop.
http://localhost:3000/api/v1/feeds/fetch_info
{
"feed": {
"onestop_id": "f-drt3-123bc~ma~us",
"url": "http://data.trilliumtransit.com/gtfs/route128corridor-ma-us/route128corridor-ma-us.zip",
"feed_format": "gtfs",
"tags": {
"feed_id": "123bc-ma-us"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[-71.2814072379742, 42.295786],
[-71.14260077, 42.295786],
[-71.14260077, 42.48272184],
[-71.2814072379742, 42.48272184],
[-71.2814072379742, 42.295786]
]
]
},
"license_name": null,
"license_url": null,
"license_use_without_attribution": "unknown",
"license_create_derived_product": "unknown",
"license_redistribute": "unknown",
"license_attribution_text": null,
"last_fetched_at": null,
"last_imported_at": null,
"import_status": "never_imported",
"created_at": null,
"updated_at": null,
"feed_versions_count": 0,
"feed_versions_url": null,
"feed_versions": null,
"active_feed_version": null,
"import_level_of_active_feed_version": null,
"created_or_updated_in_changeset_id": null,
"changesets_imported_from_this_feed": [],
"operators_in_feed": [{
"gtfs_agency_id": "466",
"operator_onestop_id": "o-drt3-128businesscouncil",
"feed_onestop_id": "f-drt3-123bc~ma~us",
"operator_url": null,
"feed_url": null
}]
},
"operators": [{
"imported_from_feeds": [],
"created_or_updated_in_changeset_id": null,
"name": "128 Business Council",
"short_name": null,
"onestop_id": "o-drt3-128businesscouncil",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[-71.214521, 42.295786],
[-71.221793, 42.299865],
[-71.2812060722981, 42.4013580264223],
[-71.2814072379742, 42.4068976562764],
[-71.2636568, 42.48272184],
[-71.24874238, 42.47204227],
[-71.14260077, 42.39542999],
[-71.2110524986629, 42.2965477705172],
[-71.2128097357886, 42.2961353741562],
[-71.214521, 42.295786]
]
]
},
"tags": {
"agency_phone": null,
"agency_lang": "en",
"agency_fare_url": "http://128bc.org/rev-hartwell-area-shuttle/",
"agency_id": "466",
"agency_email": null
},
"website": "http://128bc.org/rev-hartwell-area-shuttle/",
"country": null,
"state": null,
"metro": null,
"timezone": "America/New_York",
"created_at": null,
"updated_at": null,
"represented_in_feed_onestop_ids": []
}],
"status": "complete",
"errors": [],
"warnings": [],
"url": "http://data.trilliumtransit.com/gtfs/route128corridor-ma-us/route128corridor-ma-us.zip"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment