jonthornton / MTAPI

JSON proxy server for the MTA's realtime New York City subway feed
281 stars 84 forks source link

503 Error on all API feeds... #15

Closed Williepedia closed 4 years ago

Williepedia commented 4 years ago

My API Key works on the feeds listed on the http://datamine.mta.info/list-of-feeds site, however it doesn't seem to work with the feed urls in the mtapi.py file.

Any idea what the difference between these two feeds might be? Out of curiosity, how did you find the api-endpoint.mta.info urls in the first place? I can't seem to find them referenced anywhere.

jonthornton commented 4 years ago

The MTA has a new API gateway with its own keys at https://api.mta.info/#/landing. They asked developers to move to these endpoints a couple months ago https://groups.google.com/forum/#!topic/mtadeveloperresources/_6LRqKkTCtw

Thanks for flagging this! I've updated the MTAPI readme to point to the correct MTA site.

Williepedia commented 4 years ago

Thank you! And thank you for work on this repo. It is a godsend compared to dealing with the headaches of getting it up and running from the source.