GuigleCore 1.0.9

There is a newer version of this package available.
See the version list below for details.
dotnet add package GuigleCore --version 1.0.9                
NuGet\Install-Package GuigleCore -Version 1.0.9                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GuigleCore" Version="1.0.9" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GuigleCore --version 1.0.9                
#r "nuget: GuigleCore, 1.0.9"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.0.9

// Install GuigleCore as a Cake Tool
#tool nuget:?package=GuigleCore&version=1.0.9                

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.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.2 is compatible.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.8 22,252 2/25/2020
1.1.7 561 1/31/2020
1.1.6 617 1/27/2020
1.1.5 496 1/27/2020
1.1.4 1,929 1/12/2020
1.1.3 513 11/9/2019
1.1.2 483 11/6/2019
1.1.1 491 11/2/2019
1.1.0 517 10/30/2019
1.0.9 1,562 10/21/2019
1.0.8 489 10/20/2019
1.0.7 511 10/19/2019
1.0.6 524 10/13/2019
1.0.5 508 10/12/2019
1.0.4 484 10/12/2019
1.0.3 509 10/10/2019
1.0.2 491 10/9/2019
1.0.1 481 10/8/2019
1.0.0 655 10/7/2019

- Avoid null references in Address StringTypes when getting parts