GuigleCore 1.1.3

Library to query Google Maps Api

Install-Package GuigleCore -Version 1.1.3
dotnet add package GuigleCore --version 1.1.3
<PackageReference Include="GuigleCore" Version="1.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GuigleCore --version 1.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

GuigleCore

Library to query Google Maps Api

Usage

Geocoding

var googleGeocodingApi = new GoogleGeocodingApi("GoogleApiKey");

var address = await googleGeocodingApi.SearchAddressAsync(httpClient, "123 Street, Suburb A");

Places

var googlePlacesApi = new GooglePlacesApi("GoogleApiKey");

var places = await googlePlacesApi.FindPlaces(httpClient, "123 Street, Suburb A"));

OR

var place = await googlePlacesApi.GetExactPlaceByAddress(_client, "123 Street, Suburb A");

OR

var place = await googlePlacesApi.GetExactPlaceByLocation(_client, -11.111, 11.111);

Important

Address Types and Place Types have respective enums AddressType and PlaceType, but Google often updates them, so to avoid having issues when parsing them it will also always set the types as string in another property called StringTypes.

GuigleCore

Library to query Google Maps Api

Usage

Geocoding

var googleGeocodingApi = new GoogleGeocodingApi("GoogleApiKey");

var address = await googleGeocodingApi.SearchAddressAsync(httpClient, "123 Street, Suburb A");

Places

var googlePlacesApi = new GooglePlacesApi("GoogleApiKey");

var places = await googlePlacesApi.FindPlaces(httpClient, "123 Street, Suburb A"));

OR

var place = await googlePlacesApi.GetExactPlaceByAddress(_client, "123 Street, Suburb A");

OR

var place = await googlePlacesApi.GetExactPlaceByLocation(_client, -11.111, 11.111);

Important

Address Types and Place Types have respective enums AddressType and PlaceType, but Google often updates them, so to avoid having issues when parsing them it will also always set the types as string in another property called StringTypes.

Release Notes

Improved getHash for a better Place comparison

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.3 46 11/9/2019
1.1.2 36 11/6/2019
1.1.1 35 11/2/2019
1.1.0 35 10/30/2019
1.0.9 45 10/21/2019
1.0.8 43 10/20/2019
1.0.7 39 10/19/2019
1.0.6 46 10/13/2019
1.0.5 42 10/12/2019
1.0.4 38 10/12/2019
1.0.3 43 10/10/2019
1.0.2 44 10/9/2019
1.0.1 43 10/8/2019
1.0.0 74 10/7/2019