예제 #1
0
 /// <summary>
 /// Gets details about the place matching the specified <paramref name="options"/>.
 /// </summary>
 /// <param name="options">The options for the call to the API.</param>
 /// <returns>An instance of <see cref="IHttpResponse"/> representing the raw response.</returns>
 /// <see>
 ///     <cref>https://developers.google.com/places/web-service/details</cref>
 /// </see>
 public IHttpResponse GetDetails(PlacesGetDetailsOptions options)
 {
     if (options == null)
     {
         throw new ArgumentNullException(nameof(options));
     }
     return(Client.GetResponse(options));
 }
예제 #2
0
 /// <summary>
 /// Gets details about the place matching the specified <paramref name="options"/>.
 /// </summary>
 /// <param name="options">The options for the call to the API.</param>
 /// <returns>An instance of <see cref="PlacesDetailsResponse"/> representing the response.</returns>
 /// <see>
 ///     <cref>https://developers.google.com/places/web-service/details</cref>
 /// </see>
 public PlacesDetailsResponse GetDetails(PlacesGetDetailsOptions options)
 {
     return(new PlacesDetailsResponse(Client.GetDetails(options)));
 }