/// <summary> /// Gets information about the place matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the request to the API.</param> /// <returns></returns> /// <see> /// <cref>https://developers.google.com/maps/documentation/geocoding/overview#place-id</cref> /// </see> public IHttpResponse GetPlace(GeocodingGetPlaceOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } return(GetResponse(options)); }
/// <summary> /// Gets information about the place matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the request to the API.</param> /// <returns></returns> /// <see> /// <cref>https://developers.google.com/maps/documentation/geocoding/overview#place-id</cref> /// </see> public GeocodingResultListResponse GetPlace(GeocodingGetPlaceOptions options) { return(new GeocodingResultListResponse(Client.GetPlace(options))); }