tripkit-android / com.skedgo.tripkit.alerts / RealtimeAlertApi / fetchRealtimeAlertsAsync

fetchRealtimeAlertsAsync

@GET abstract fun fetchRealtimeAlertsAsync(@Url url:String!, @Query("region") regionName:String!): Observable<RealtimeAlertResponse!>!

See http://skedgo.github.io/tripgo-api/swagger/#!/Transit/get_alerts_transit_json.

Parameters

url - String!: e.g. https://inflationary-br-rj-riodejaneiro.tripgo.skedgo.com/satapp/alerts/transit.json. The url is a composition of an URL from `[Region#getURLs()](../../com.skedgo.tripkit.common.model/-region/get-u-r-ls.md) and/alerts/transit.json`.

regionName - String!: Which is `[Region#getName()`](../../com.skedgo.tripkit.common.model/-region/get-name.md).