getAddress.Sdk 3.5.0

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

// Install getAddress.Sdk as a Cake Tool
#tool nuget:?package=getAddress.Sdk&version=3.5.0

getAddress.io SDK

Install

Install from Nuget:

PM> Install-Package getAddress.Sdk

Usage

Dependency Injection

services.AddSingleton(s => new GetAddress.ApiKeys("<YOUR ADDRESS LOOKUP KEY>", "<YOUR ADMINISTRATION KEY>"));

services.AddHttpClient<GetAddress.Api>();

Autocomplete and lookup addresses

public async Task Autocomplete(GetAddress.Api api)
{
  var autocompleteResult = await api.Autocomplete("High St");

  if (autocompleteResult.IsSuccess)
  {
      foreach(var suggestion in autocompleteResult.Success.Suggestions)
      {
          var getResult = await api.Get(suggestion);

          if (getResult.IsSuccess)
          {
              var address = getResult.Success;
              var line1 = address.Line1;
              var line2 = address.Line2;
              var line3 = address.Line3;
              var line4 = address.Line4;
              var buildName = address.BuildingName;
              //....
          }
      }
  }
  else
  {
      var errorMessage = autocompleteResult.Failed.Message;
  }
}
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.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
3.5.0 326 5/16/2024
3.4.3 84 5/16/2024
3.4.2 3,516 12/28/2023
3.4.1 3,594 9/22/2023
3.4.0 792 9/16/2023
3.3.2 2,430 8/23/2023
3.3.1 138 8/23/2023
3.3.0 135 8/22/2023
3.2.2 4,327 7/7/2023
3.2.1 160 7/6/2023
3.2.0 461 6/22/2023
3.1.0 1,165 4/24/2023
3.0.0 211 4/21/2023
2.7.0 19,635 3/14/2023
2.6.0 3,714 2/18/2023
2.5.0 13,599 12/12/2022
2.4.0 1,655 11/28/2022
2.3.0 7,452 10/20/2022
2.2.0 1,515 10/5/2022
2.1.4 7,919 7/6/2022
2.1.3 429 7/4/2022
2.1.2 12,593 5/2/2022
2.1.1 3,619 3/8/2022
2.1.0 389 3/8/2022
2.0.10 4,369 1/27/2022
2.0.9 601 1/26/2022
2.0.8 8,783 8/22/2021
2.0.7 345 8/22/2021
2.0.6 428 8/11/2021
2.0.5 311 8/11/2021
2.0.4 776 7/7/2021
2.0.3 748 6/15/2021
2.0.2 503 6/1/2021
2.0.1 353 5/28/2021
2.0.0 397 5/28/2021
2.0.0-rc1 223 5/28/2021
2.0.0-rc 249 5/28/2021
2.0.0-beta 236 5/11/2021
1.92.0 83,703 3/4/2021
1.91.7 10,349 1/8/2021
1.91.6 461 1/7/2021
1.91.5 455 1/7/2021
1.91.4 1,846 1/3/2021
1.91.3 478 12/28/2020
1.91.2 508 12/18/2020
1.91.1 502 12/17/2020
1.9.9999 1,553 12/11/2020
1.9.9998 476 12/10/2020
1.9.9997 438 12/10/2020
1.9.9996 442 12/9/2020
1.9.9995 3,489 11/22/2020
1.9.9994 445 11/22/2020
1.9.9993 468 11/22/2020
1.9.9992 477 11/20/2020
1.9.9991 476 11/20/2020
1.9.999 438 11/20/2020
1.9.998 560 11/12/2020
1.9.997 1,185 11/8/2020
1.9.996 851 11/5/2020
1.9.995 1,660 10/30/2020
1.9.994 500 10/30/2020
1.9.993 928 10/28/2020
1.9.992 690 10/24/2020
1.9.991 815 10/16/2020
1.9.990 495 10/16/2020
1.9.989 502 10/15/2020
1.9.988 442 10/15/2020
1.9.987 469 10/14/2020
1.9.986 945 10/11/2020
1.9.985 3,054 10/4/2020
1.9.984 498 10/2/2020
1.9.983 21,108 9/28/2020
1.9.982 656 9/26/2020
1.9.981 475 9/25/2020
1.9.98 518 9/24/2020
1.9.97 1,201 9/17/2020
1.9.96 614 9/16/2020
1.9.95 530 9/16/2020
1.9.94 3,472 9/9/2020
1.9.93 4,616 8/25/2020
1.9.92 11,737 8/17/2020
1.9.91 491 8/12/2020
1.9.9 1,437 8/7/2020
1.9.8 488 8/7/2020
1.9.6 15,933 7/12/2020
1.9.5 13,102 5/29/2020
1.9.4 519 5/29/2020
1.9.3 4,275 4/23/2020
1.9.2 542 4/21/2020
1.9.1 520 4/21/2020
1.9.0 2,046 4/3/2020
1.8.0 918 3/26/2020
1.7.6 4,203 3/6/2020
1.7.5 518 3/6/2020
1.7.4 4,991 1/3/2020
1.7.3 561 12/27/2019
1.7.2 629 12/17/2019
1.7.1 2,247 11/19/2019
1.7.0 685 11/17/2019
1.6.4 641 11/5/2019
1.6.3 589 11/1/2019
1.6.2 800 10/17/2019
1.6.1 718 10/15/2019
1.6.0 3,067 9/27/2019
1.5.9 598 9/25/2019
1.5.8 1,330 8/15/2019
1.5.7 3,255 5/9/2019
1.5.6 1,179 5/1/2019
1.5.5 943 4/10/2019
1.5.4 672 4/10/2019
1.5.3 6,059 3/25/2019
1.5.2 7,859 2/28/2019
1.5.1 642 2/26/2019
1.5.0 757 2/14/2019
1.4.9 748 2/11/2019
1.4.7 787 2/9/2019
1.4.6 722 2/8/2019
1.4.5 717 2/5/2019
1.4.4 1,128 12/31/2018
1.4.3 715 12/30/2018
1.4.2 724 12/30/2018
1.4.1 2,415 10/29/2018
1.4.0 10,362 9/4/2018
1.3.2 7,623 4/22/2018
1.2.6 1,164 3/2/2018
1.2.5 905 2/28/2018
1.2.4 1,285 2/20/2018
1.2.3 1,214 1/22/2018
1.2.2 12,751 9/25/2017
1.2.1 1,021 9/25/2017
1.1.2 962 9/21/2017
1.1.1 949 9/21/2017
1.1.0 958 9/17/2017
1.0.5 1,100 9/14/2017
1.0.4 1,118 8/21/2017
1.0.3 1,401 7/16/2017
1.0.2 1,309 7/10/2017

.ConfigureAwait(false) added to async methods