Skip to content

Quick library to create a college bus app (requires specific endpoints)

License

Notifications You must be signed in to change notification settings

robsterthelobster/UniTransit-Lib

Repository files navigation

Uni Transit Library

An Android transit library for any shuttle service powered by Synchromatics. Quickly deploy an app for your school with nearby and live-map features built natively for Android.

Screenshots and GIFs

MainPage ![MainPage](https://lh3.googleusercontent.com/QsIWMftVyWz3HuUYnA4XzARWyojo3-yoG34k8vWywWpvBAJtNKNi9QE5EALmIFF8TA=h900-rw "MainPage" NavigationDrawer PagerTabs

Setup

TODO

Right now, simply create a new project and extend the MainActivity to ArrivalsActivity.

  • Add Google Maps API key to your manifest (as seen in sample)
  • Find your school's shuttle URL, and set Constants.URL to it (as seen in sample)

Data and Endpoints

As mentioned in the description, this lib is actually compatible with a large number of colleges and universities, all using Synchromatics tracking system. The library polls the JSON files via Retrofit and parses them for use. If you wish to use the bus data for another app or bus feed, the endpoints are as such:

The Intent Service first pulls data from Routes, and uses the route ID to find the stops. The stop ID is then used to find each individual stop's arrival times. Vehicle/shuttle data is also pulled from using the route ID. If these endpoints were to change, they were originally extracted through ucishuttles.com, but can be done through any live feed map.

##Libraries Used:

##License:

UniTransit-Lib is released under the MIT License.

About

Quick library to create a college bus app (requires specific endpoints)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages