Closed darkzeroman closed 11 years ago
Looks great. It looks like in v2methods.py, you're GETing NextBus data from a Heroku app of some kind. Is that something you wrote for interfacing with the NextBus API?
At first I used my own API, but now I'm using the method from your original code.
Awesome. The route config file seems like an awesome asset.
So we need to figure out what's the future with this project.
I'm able to work on the "backend" of the app, but would need someone else to work on the front end.
The next few things that need to be done are:
I would separate those into different issues so they don't clutter this one and can be discussed independently.
@darkzeroman's second point is covered in #11.
I've been working on a GT Nextbus app, so I have a some experience in dealing with Nextbus' weird API. I would recommend glancing the README to understand the _title vs _tag variable names.
So first thing I've introduced is this route config file that I had constructed while making the app. It has information about all routes/directions/stops. This was made from different sources and I had to manually edit this a few times.
So this should be used instead of all those conditionals, using this file makes life a lot easier and helps a great deal for expanding this to other routes. I have taken out the route information all other routes beside red/blue because there isn't the walking data for the many of the new stops from other routes (Tech Trolley, Green, etc)
There are some issues in the API that need to be known.
I've aded another file "v2methods" which includes my current work to integrate the changes into server.py. My changes can be seen here.
Seems like there are some indentation/space/tab issues, I'll get those fixed soon.