GuigleCore 1.1.8

dotnet add package GuigleCore --version 1.1.8
                    
NuGet\Install-Package GuigleCore -Version 1.1.8
                    
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.1.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GuigleCore" Version="1.1.8" />
                    
Directory.Packages.props
<PackageReference Include="GuigleCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GuigleCore --version 1.1.8
                    
#r "nuget: GuigleCore, 1.1.8"
                    
#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.
#addin nuget:?package=GuigleCore&version=1.1.8
                    
Install GuigleCore as a Cake Addin
#tool nuget:?package=GuigleCore&version=1.1.8
                    
Install GuigleCore as a Cake Tool

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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 25,867 2/25/2020
1.1.7 590 1/31/2020
1.1.6 647 1/27/2020
1.1.5 525 1/27/2020
1.1.4 1,960 1/12/2020
1.1.3 540 11/9/2019
1.1.2 511 11/6/2019
1.1.1 521 11/2/2019
1.1.0 546 10/30/2019
1.0.9 1,691 10/21/2019
1.0.8 519 10/20/2019
1.0.7 542 10/19/2019
1.0.6 555 10/13/2019
1.0.5 539 10/12/2019
1.0.4 514 10/12/2019
1.0.3 538 10/10/2019
1.0.2 523 10/9/2019
1.0.1 513 10/8/2019
1.0.0 708 10/7/2019

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