PlacesRequest
public enum PlacesRequest : URLRequestConvertible
Enumeration of network requests for Places
-
Get Places given some parameters
Declaration
Swift
case getPlacesWithParameters(parameters: Parameters?)
-
Get Places given a query and some parameters
Declaration
Swift
case getPlacesWithQuery(query: String, parameters: Parameters?)
-
Get Places nearby some coordinates
Declaration
Swift
case getPlacesNearbyCoordinates(latitude: Double, longitude: Double, onlyWithClientEvents: Bool, parameters: Parameters?)
-
Get Places nearby an address
Declaration
Swift
case getPlacesNearbyAddress(address: String, onlyWithClientEvents: Bool, parameters: Parameters?)
-
Get Offers for a place and event type
Declaration
Swift
case getOffers(forPlaceId: Int, clientEventType: Place.ClientEventType)
-
Get Place Details given an ID
Declaration
Swift
case getPlace(id: Int, parameters: Parameters?)
-
Get Places given a place integration ID
Declaration
Swift
case getPlacesWithIntegrationID(integrationID: String, parameters: Parameters?)
-
Get Place Categories
Declaration
Swift
case getPlaceCategories(parameters: Parameters?)
-
Get nearby place with radius and centerpoints
Declaration
Swift
case getPlacesNearby(parameters: Parameters?)
-
Declaration
Swift
public var parameters: Parameters? { get }
-
Declaration
Swift
public var method: HTTPMethod { get }
-
Declaration
Swift
public var path: String { get }