getAddress.Sdk
2.6.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package getAddress.Sdk --version 2.6.0
NuGet\Install-Package getAddress.Sdk -Version 2.6.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="2.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add getAddress.Sdk --version 2.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: getAddress.Sdk, 2.6.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=2.6.0
// Install getAddress.Sdk as a Cake Tool
#tool nuget:?package=getAddress.Sdk&version=2.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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>();
Find postal addresses for a UK postcode and optional house name/number
public async Task Find(GetAddress.Api api)
{
var result = await api.Find("TR19 7AA");
if (result.IsSuccess)
{
foreach(var address in result.Success.Addresses)
{
var line1 = address.Line1;
var line2 = address.Line2;
var line3 = address.Line3;
var line4 = address.Line4;
var buildName = address.BuildingName;
//....
}
}
else
{
var errorMessage = result.Failed.Message;
}
}
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 | Versions 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.
-
.NETStandard 2.0
- Newtonsoft.Json (>= 11.0.1)
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 | 457 | 5/16/2024 |
3.4.3 | 84 | 5/16/2024 |
3.4.2 | 3,856 | 12/28/2023 |
3.4.1 | 3,812 | 9/22/2023 |
3.4.0 | 804 | 9/16/2023 |
3.3.2 | 2,456 | 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,190 | 4/24/2023 |
3.0.0 | 211 | 4/21/2023 |
2.7.0 | 19,755 | 3/14/2023 |
2.6.0 | 3,725 | 2/18/2023 |
2.5.0 | 13,650 | 12/12/2022 |
2.4.0 | 1,656 | 11/28/2022 |
2.3.0 | 7,507 | 10/20/2022 |
2.2.0 | 1,515 | 10/5/2022 |
2.1.4 | 7,959 | 7/6/2022 |
2.1.3 | 429 | 7/4/2022 |
2.1.2 | 12,656 | 5/2/2022 |
2.1.1 | 3,619 | 3/8/2022 |
2.1.0 | 389 | 3/8/2022 |
2.0.10 | 4,382 | 1/27/2022 |
2.0.9 | 601 | 1/26/2022 |
2.0.8 | 8,786 | 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,779 | 3/4/2021 |
1.91.7 | 10,363 | 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 | 929 | 10/28/2020 |
1.9.992 | 691 | 10/24/2020 |
1.9.991 | 816 | 10/16/2020 |
1.9.990 | 496 | 10/16/2020 |
1.9.989 | 503 | 10/15/2020 |
1.9.988 | 443 | 10/15/2020 |
1.9.987 | 470 | 10/14/2020 |
1.9.986 | 946 | 10/11/2020 |
1.9.985 | 3,055 | 10/4/2020 |
1.9.984 | 500 | 10/2/2020 |
1.9.983 | 21,163 | 9/28/2020 |
1.9.982 | 658 | 9/26/2020 |
1.9.981 | 477 | 9/25/2020 |
1.9.98 | 520 | 9/24/2020 |
1.9.97 | 1,203 | 9/17/2020 |
1.9.96 | 616 | 9/16/2020 |
1.9.95 | 532 | 9/16/2020 |
1.9.94 | 3,474 | 9/9/2020 |
1.9.93 | 4,663 | 8/25/2020 |
1.9.92 | 11,769 | 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,966 | 7/12/2020 |
1.9.5 | 13,105 | 5/29/2020 |
1.9.4 | 519 | 5/29/2020 |
1.9.3 | 4,285 | 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,073 | 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,185 | 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 | 910 | 2/28/2018 |
1.2.4 | 1,285 | 2/20/2018 |
1.2.3 | 1,214 | 1/22/2018 |
1.2.2 | 12,753 | 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 |
Validate Service