GuigleCore 1.1.8

Library to query Google Maps Api

Install-Package GuigleCore -Version 1.1.8
dotnet add package GuigleCore --version 1.1.8
<PackageReference Include="GuigleCore" Version="1.1.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GuigleCore --version 1.1.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: GuigleCore, 1.1.8"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install GuigleCore as a Cake Addin
#addin nuget:?package=GuigleCore&version=1.1.8

// Install GuigleCore as a Cake Tool
#tool nuget:?package=GuigleCore&version=1.1.8
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

Downgrading to .net core 2.2 because 3+ versions don't seem to be mature enough yet.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.8 1,501 2/25/2020
1.1.7 275 1/31/2020
1.1.6 326 1/27/2020
1.1.5 182 1/27/2020
1.1.4 365 1/12/2020
1.1.3 219 11/9/2019
1.1.2 193 11/6/2019
1.1.1 191 11/2/2019
1.1.0 202 10/30/2019
1.0.9 398 10/21/2019
1.0.8 199 10/20/2019
1.0.7 198 10/19/2019
1.0.6 217 10/13/2019
1.0.5 199 10/12/2019
1.0.4 194 10/12/2019
1.0.3 201 10/10/2019
1.0.2 197 10/9/2019
1.0.1 200 10/8/2019
1.0.0 304 10/7/2019