GoogleMapsClient 1.1.14

dotnet add package GoogleMapsClient --version 1.1.14                
NuGet\Install-Package GoogleMapsClient -Version 1.1.14                
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="GoogleMapsClient" Version="1.1.14" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GoogleMapsClient --version 1.1.14                
#r "nuget: GoogleMapsClient, 1.1.14"                
#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 GoogleMapsClient as a Cake Addin
#addin nuget:?package=GoogleMapsClient&version=1.1.14

// Install GoogleMapsClient as a Cake Tool
#tool nuget:?package=GoogleMapsClient&version=1.1.14                

GoogleMapsClient

alt tag

I needed a simple way to parse addresses and resolve coordinates to an address. Plug in a Google Maps API key and you're all set.

Special thanks to @jorgeaponte and the community for helping improve this library!

New in v1.1.0

  • Retarget to include .NET 6.0, .NET 7.0
  • Async APIs
  • Minor breaking changes (including GoogleMapsAddress, GoogleMapsCoordinates, GoogleMapsTimestamp return object)

Help and Feedback

First things first - do you need help or have feedback? File an issue here!

Example

using GoogleMapsClient;

GoogleMaps client = new GoogleMaps("[your API key here]");
GoogleMapsAddress addr;
GoogleMapsTimestamp ts;

// Get details about coordinates
addr = client.QueryCoordinates(37.4220578, -122.0840897);
addr = await client.QueryCoordinatesAsync(37.4220578, -122.0840897);

// Get details about an address
addr = client.QueryAddress("1600 Amphitheatre Pkwy Mountain View CA");
addr = await client.QueryAddressAsync("1600 Amphitheatre Pkwy Mountain View CA");

// Get timestamp for coordinates
ts = client.LocalTimestamp(37.4220578, -122.0840897, DateTime.Now);
ts = await client.LocalTimestampAsync(37.4220578, -122.0840897, DateTime.Now);

// Get timestamp for address
ts = client.LocalTimestamp("1600 Amphitheatre Pkwy Mountain View CA", DateTime.Now);
ts = await client.LocalTimestampAsync("1600 Amphitheatre Pkwy Mountain View CA", DateTime.Now);

Version History

Refer to CHANGELOG.md for version history.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 is compatible.  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 is compatible.  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 Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 is compatible.  net481 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.14 1,289 11/27/2023
1.1.13 108 11/25/2023
1.1.12 291 10/21/2023
1.1.10 145 10/21/2023
1.1.9 153 10/20/2023
1.1.8 135 10/20/2023
1.1.7 158 10/20/2023
1.1.6 206 10/11/2023
1.1.5 157 10/6/2023
1.1.4 119 10/6/2023
1.1.3 117 10/6/2023
1.1.2 136 10/6/2023
1.1.1 134 10/6/2023
1.1.0 408 9/14/2023
1.0.3 163 9/14/2023
1.0.2 131 9/14/2023
1.0.1.1 14,897 11/12/2021
1.0.1 22,660 8/12/2020
1.0.0 481 8/12/2020

Dependency changes, retarget