Online Maps  v3
OnlineMapsGooglePlaceDetails Class Reference

A Place Details request returns more comprehensive information about the indicated place such as its complete address, phone number, user rating and reviews.
Requires Google Maps API key.
https://developers.google.com/places/webservice/details More...

Inheritance diagram for OnlineMapsGooglePlaceDetails:
OnlineMapsTextWebService OnlineMapsWebServiceAPI

Static Public Member Functions

static OnlineMapsGooglePlaceDetails FindByPlaceID (string key, string place_id, string language=null)
 Gets details about the place by place_id. More...
 
static OnlineMapsGooglePlaceDetails FindByReference (string key, string reference, string language=null)
 Gets details about the place by reference. More...
 
static OnlineMapsGooglePlaceDetailsResult GetResult (string response)
 Converts response into an result object. Note: The object may not contain all the available fields.
Other fields can be obtained from OnlineMapsGooglePlaceDetailsResult.node. More...
 

Additional Inherited Members

- Public Member Functions inherited from OnlineMapsTextWebService
override void Destroy ()
 Destroys the current request to webservice. More...
 
- Public Member Functions inherited from OnlineMapsWebServiceAPI
OnlineMapsWWW GetWWW ()
 Get request instance More...
 
- Public Attributes inherited from OnlineMapsTextWebService
Action< string > OnComplete
 Event that occurs when a response is received from webservice. More...
 
new Action< OnlineMapsTextWebServiceOnFailed
 Event that occurs when an error response is received from webservice More...
 
new Action< OnlineMapsTextWebServiceOnFinish
 This event is occurs after other events, before disposing the request More...
 
new Action< OnlineMapsTextWebServiceOnSuccess
 Event that occurs when a success response is received from webservice More...
 
- Public Attributes inherited from OnlineMapsWebServiceAPI
Action< OnlineMapsWebServiceAPIOnFailed
 Event that occurs when an error response is received from webservice. More...
 
Action< OnlineMapsWebServiceAPIOnFinish
 Event that occurs after OnComplete, when the response from webservice processed. More...
 
Action< OnlineMapsWebServiceAPIOnDispose
 Event that occurs when the current request instance is disposed. More...
 
Action< OnlineMapsWebServiceAPIOnSuccess
 Event that occurs when a success response is received from webservice. More...
 
object customData
 In this variable you can put any data that you need to work with requests. More...
 
- Protected Member Functions inherited from OnlineMapsTextWebService
void OnRequestComplete (OnlineMapsWWW www)
 Checks whether the response from webservice. More...
 
- Protected Attributes inherited from OnlineMapsTextWebService
string _response
 Response string More...
 
- Properties inherited from OnlineMapsTextWebService
string response [get]
 Gets a response from webservice. More...
 
- Properties inherited from OnlineMapsWebServiceAPI
OnlineMapsQueryStatus status [get]
 Gets the current status of the request to webservice. More...
 

Detailed Description

A Place Details request returns more comprehensive information about the indicated place such as its complete address, phone number, user rating and reviews.
Requires Google Maps API key.
https://developers.google.com/places/webservice/details

Member Function Documentation

◆ FindByPlaceID()

static OnlineMapsGooglePlaceDetails OnlineMapsGooglePlaceDetails.FindByPlaceID ( string  key,
string  place_id,
string  language = null 
)
static

Gets details about the place by place_id.

Parameters
keyYour application's API key.
This key identifies your application for purposes of quota management and so that places added from your application are made immediately available to your app.
Visit the Google Developers Console to create an API Project and obtain your key.
place_idA textual identifier that uniquely identifies a place, returned from a Place Search.
languageThe language code, indicating in which language the results should be returned, if possible.
Note that some fields may not be available in the requested language.
Returns
Query instance to the Google API.

◆ FindByReference()

static OnlineMapsGooglePlaceDetails OnlineMapsGooglePlaceDetails.FindByReference ( string  key,
string  reference,
string  language = null 
)
static

Gets details about the place by reference.

Parameters
keyYour application's API key.
This key identifies your application for purposes of quota management and so that places added from your application are made immediately available to your app.
Visit the Google Developers Console to create an API Project and obtain your key.
referenceA textual identifier that uniquely identifies a place, returned from a Place Search.
Note: The reference is now deprecated in favor of placeid.
languageThe language code, indicating in which language the results should be returned, if possible.
Note that some fields may not be available in the requested language.
Returns
Query instance to the Google API.

◆ GetResult()

static OnlineMapsGooglePlaceDetailsResult OnlineMapsGooglePlaceDetails.GetResult ( string  response)
static

Converts response into an result object. Note: The object may not contain all the available fields.
Other fields can be obtained from OnlineMapsGooglePlaceDetailsResult.node.

Parameters
responseResponse of Google API.
Returns
Result object or null.