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.
<PackageVersion Include="GoogleMapsClient" Version="1.1.14" />
                    
Directory.Packages.props
<PackageReference Include="GoogleMapsClient" />
                    
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 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.
#:package GoogleMapsClient@1.1.14
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=GoogleMapsClient&version=1.1.14
                    
Install as a Cake Addin
#tool nuget:?package=GoogleMapsClient&version=1.1.14
                    
Install as a Cake Tool

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.  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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 2,795 11/27/2023
1.1.13 123 11/25/2023
1.1.12 310 10/21/2023
1.1.10 163 10/21/2023
1.1.9 172 10/20/2023
1.1.8 155 10/20/2023
1.1.7 178 10/20/2023
1.1.6 231 10/11/2023
1.1.5 190 10/6/2023
1.1.4 140 10/6/2023
1.1.3 140 10/6/2023
1.1.2 157 10/6/2023
1.1.1 154 10/6/2023
1.1.0 431 9/14/2023
1.0.3 188 9/14/2023
1.0.2 149 9/14/2023
1.0.1.1 14,955 11/12/2021
1.0.1 22,986 8/12/2020
1.0.0 548 8/12/2020

Dependency changes, retarget