kadamwhite / mbtawesome

An MBTA subway status application with a good attitude
http://www.mbtawesome.com
MIT License
11 stars 0 forks source link

Ensure all realtime API "effect" values are handled appropriately #64

Open kadamwhite opened 8 years ago

kadamwhite commented 8 years ago

From the MBTA developers google group, this is the list of corresponding values for the MBTA realtime API on which MBTAwesome depends:

effect_name effect icon
Access Issue OTHER_EFFECT Access Issue
Amber Alert UNKNOWN_EFFECT Other
Cancellation NO_SERVICE Cancelled Trip
Delay OTHER_EFFECT Delay
Detour DETOUR Detour
Dock Closure NO_SERVICE Station/Stop Closure
Dock Issue UNKNOWN_EFFECT Other
Extra Service ADDITIONAL_SERVICE Extra Service
Policy Change OTHER_EFFECT Other
Schedule Change MODIFIED_SERVICE Schedule Change
Service Change UNKNOWN_EFFECT Other
Shuttle DETOUR Shuttle Bus
Snow Route DETOUR Snow Route
Station Closure NO_SERVICE Station/Stop Closure
Station Issue UNKNOWN_EFFECT Other
Stop Closure NO_SERVICE Station/Stop Closure
Stop Move STOP_MOVED Other
Suspension NO_SERVICE No Service
Track Change OTHER_EFFECT Other