PlacesAPI
public enum PlacesAPICaseless enumeration with static methods to send Places Requests
- 
                  
                  Sends a request to get the list of places. DeclarationSwift public static func getPlaces(with parameters: Parameters?, completion: ResponseCompletion<[Place]> = nil)ParametersparametersThe Parametersto apply.completionThe closure to be executed once the request has finished. 
- 
                  
                  Sends a request to get the list of places given a query string. DeclarationSwift public static func getPlaces(query: String, with parameters: Parameters?, completion: ResponseCompletion<[Place]> = nil)ParametersqueryThe string to search for. parametersThe Parametersto apply.completionThe closure to be executed once the request has finished. 
- 
                  
                  Sends a request to get the list of places given a place Integration ID. DeclarationSwift public static func getPlaces(integrationId: String, with parameters: Parameters?, completion: ResponseCompletion<[Place]> = nil)ParametersintegrationIdThe integration ID of the place. parametersThe Parametersto apply.completionThe closure to be executed once the request has finished. 
- 
                  
                  Sends a request to get the list of places nearby based on given coordinates. DeclarationSwift public static func getPlacesNearby(coordinates: (latitude: Double, longitude: Double), onlyWithClientEvents: Bool, with parameters: Parameters?, completion: ResponseCompletion<[Place]> = nil)ParameterscoordinatesThe coordinates to base the search on. onlyWithClientEventsThe boolean value to check if user wants to display places with client events only. parametersThe Parametersto apply.completionThe closure to be executed once the request has finished. 
- 
                  
                  Sends a request to get the list of places nearby based on address. DeclarationSwift public static func getPlacesNearby(address: String, onlyWithClientEvents: Bool, with parameters: Parameters?, completion: ResponseCompletion<[Place]> = nil)ParametersaddressThe address to base the search on. onlyWithClientEventsThe boolean value to check if user wants to display places with client events only. parametersThe Parametersto apply.completionThe closure to be executed once the request has finished. 
- 
                  
                  Sends a request to get the list of offers related to a place given client event type. DeclarationSwift public static func getOffers(placeId: Int, clientEventType: Place.ClientEventType, with parameters: Parameters?, completion: ResponseCompletion<[Offer]> = nil)ParametersplaceIdThe id of the place. clientEventTypeThe ClientEventTypeto apply.parametersThe Parametersto apply.completionThe closure to be executed once the request has finished. 
- 
                  
                  Sends a request to get the place detail given a place ID. DeclarationSwift public static func getPlace(id: Int, with parameters: Parameters?, completion: ResponseCompletion<Place> = nil)ParametersidThe id of the place. parametersThe Parametersto apply.completionThe closure to be executed once the request has finished. 
- 
                  
                  Sends a request to get the list of place categories. DeclarationSwift public static func getPlaceCategories(with parameters: Parameters?, completion: ResponseCompletion<[Place.Category]> = nil)ParametersparametersThe Parametersto apply.completionThe closure to be executed once the request has finished. 
- 
                  
                  Sends a request to get the radius, centerpoint, and list of places DeclarationSwift public static func getPlacesNearby(with parameters: Parameters?, completion: ResponseCompletion<NearbyPlaces> = nil)ParametersparametersThe Parametersto apply.completionThe closure to be executed once the request has finished. 
 View on GitHub
View on GitHub PlacesAPI Enumeration Reference
        PlacesAPI Enumeration Reference