Open jeancochrane opened 8 years ago
I think we should have one process running that periodically (tbd how often) retrieves data from here, then does our cleaning, and stores it in an SQL database. Then the api will mostly just be sql queries – and as long as our database is designed to be pretty universal, we should be able to reimplement this for other cities without altering anything but the process that is pulling data from SEPTA/its counterpart.
Ideas for api endpoints:
Agreed! I'd also like to serve fixed routelines as a separate API, too.
Our cleaning script will most likely be the biggest headache here, and might even warrant its own issue thread. For now, let's focus on setting up a mirror API on our server, and then work on cleaning the data after we've shifted our architecture. Here's my suggested task list:
Something like this. We need to: