Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add T to App #322

Open
epicstar opened this issue Nov 3, 2017 · 3 comments
Open

Add T to App #322

epicstar opened this issue Nov 3, 2017 · 3 comments
Assignees
Milestone

Comments

@epicstar
Copy link
Member

epicstar commented Nov 3, 2017

It's officially out. We should upgrade our app to use the v3 API over the v2 API. Advantages:

  • T is now on the map
  • use of detours (by default, the detours are default on the getpatterns GET method... but there is a new API that takes more advantage of the detour API)

There are some breaking changes... For example, we cannot get patterns unless we specify what agency the route comes from.

Source: http://www.post-gazette.com/news/transportation/2017/11/01/Port-Authority-real-time-tracking-T-service-light-rail-TrueTime-Pittsburgh/stories/201711010226

@epicstar epicstar added this to the 8.0.0 Release Milestone milestone Nov 3, 2017
@epicstar epicstar changed the title Application Should use v3 of the TrueTime API Application Should use v3 of the TrueTime API Which should give us the T in Real-Time Nov 3, 2017
@epicstar
Copy link
Member Author

First part done by adding logic to the Date class for keeping track of "day" and "quarter" with extensive unit tests. Next step is to get the route list to dynamically load from the information either on disk or through the internet depending on the Date.afterQuarter() rule.

@epicstar epicstar changed the title Application Should use v3 of the TrueTime API Which should give us the T in Real-Time Add T to App Nov 2, 2021
@epicstar epicstar moved this to Todo in PAT Track Stuff Jan 22, 2022
@epicstar
Copy link
Member Author

linked to issue #328

duplicates #345

@epicstar
Copy link
Member Author

Let's use play asset delivery to deliver the precached jsons of routes and lines to the app: https://developer.android.com/guide/playcore/asset-delivery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants