tripkit-android / com.skedgo.tripkit.data.locations / LocationsApi / fetchLocationsAsync

fetchLocationsAsync

@GET fun fetchLocationsAsync(@Url url:String, lat:Double, lng:Double, limit:int, radius:int, modes: List<String> ): Observable<LocationsResponse!>!

Parameters

url - String: A concatenation of an item of Region#getURLs() and "locations.json". For example, "https://sydney-au-nsw-sydney.tripgo.skedgo.com/satapp/locations.json".

lat - Double: Latitude from Location

lng - Double: Longitude from Location

limit - int

radius - int

modes - List<String>