Soenneker.Google.Places 11.0.1350

Prefix Reserved
dotnet add package Soenneker.Google.Places --version 11.0.1350
                    
NuGet\Install-Package Soenneker.Google.Places -Version 11.0.1350
                    
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="Soenneker.Google.Places" Version="11.0.1350" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Google.Places" Version="11.0.1350" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Google.Places" />
                    
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 Soenneker.Google.Places --version 11.0.1350
                    
#r "nuget: Soenneker.Google.Places, 11.0.1350"
                    
#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 Soenneker.Google.Places@11.0.1350
                    
#: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=Soenneker.Google.Places&version=11.0.1350
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Google.Places&version=11.0.1350
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.Google.Places

A DI-ready wrapper for Google Places Find Place and Place Details requests.

Install

dotnet add package Soenneker.Google.Places

Configuration

{
  "Google": {
    "Places": {
      "ApiKey": "<Google Places API key>"
    }
  }
}

Register

using Soenneker.Google.Places.Registrars;
using Microsoft.Extensions.DependencyInjection;

services.AddGooglePlacesUtilAsScoped();

Singleton registration is also available through AddGooglePlacesUtilAsSingleton(); the implementation is stateless after reading its API key.

Find a place and load details

PlaceResult? candidate = await places.GetPlace(
    "1600 Amphitheatre Parkway, Mountain View, CA",
    cancellationToken: cancellationToken);

if (candidate?.PlaceId is { } placeId)
{
    PlaceResult? details = await places.GetDetails(
        placeId,
        cancellationToken: cancellationToken);
}

Name, geometry, and place ID are always requested. Supply additionalFieldTypes when the response must include other billable fields.

API at a glance

API What it does Result / important behavior
GetPlaces(address, additionalFieldTypes) Runs a text Find Place request. Returns candidates in response order, or an empty list for no match.
GetPlace(address, additionalFieldTypes) Returns the first Find Place candidate. null for no match; it is not an exact-match guarantee.
GetPlaceId(address) Returns the first candidate's place ID. null for no match.
GetDetails(placeId, additionalFieldTypes) Loads details for an existing place ID. null when Google reports that the place was not found.

Practical notes

  • Quota, authentication, permission, invalid-request, and other non-success statuses throw InvalidOperationException; they are not reported as empty results.
  • Transport failures propagate from the underlying Google API client, and cancellation is forwarded to each request.
Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
11.0.1350 0 11/11/2026
11.0.1349 0 11/11/2026
11.0.1348 0 11/11/2026
11.0.1347 0 11/11/2026
11.0.1346 0 11/11/2026
11.0.1345 374 10/27/2026
11.0.1344 102 10/26/2026
11.0.1343 98 10/26/2026
11.0.1342 96 10/26/2026
4.0.1340 101 10/26/2026
4.0.1339 93 10/25/2026
4.0.1338 139 10/15/2026
4.0.1337 109 10/14/2026
4.0.1336 96 10/14/2026
4.0.1335 103 10/14/2026
4.0.1330 99 10/13/2026
4.0.1329 104 10/13/2026
4.0.1326 111 10/12/2026
4.0.1323 118 10/11/2026
4.0.1322 108 10/11/2026
Loading failed

Updated GoogleApi to 5.8.19