getAddress.Sdk 1.5.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package getAddress.Sdk --version 1.5.5
NuGet\Install-Package getAddress.Sdk -Version 1.5.5
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="1.5.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add getAddress.Sdk --version 1.5.5
#r "nuget: getAddress.Sdk, 1.5.5"
#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=1.5.5

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

getAddress.io SDK

Install

Install from Nuget:

PM> Install-Package getAddress.Sdk

Usage

Find postal addresses for a UK postcode and optional house name/number

var apiKey = new ApiKey("<YOUR API KEY>");

using (var api = new GetAddesssApi(apiKey))
{
    var result = await api.Address.Get(new GetAddressRequest("POSTCODE", "OPTIONAL HOUSE NAME"));

    if (result.IsSuccess)
    {
        var successfulResult =  (GetAddressResponse.Success)result;

        var latitude = successfulResult.Latitude;

        var Longitude = successfulResult.Longitude;

        foreach (var address in successfulResult.Addresses)
        {
            var line1 = address.Line1;
            var line2 = address.Line2;
            var line3 = address.Line3;
            var line4 = address.Line4;
            var locality = address.Locality;
            var townOrCity = address.TownOrCity;
            var county = address.County;
        }
    }
}         

Get the current day's usage and usage limits

var adminKey = new AdminKey("Your Admin Key");

using (var api = new GetAddesssApi(adminKey))
{
    var result = await api.Usage.Get();

    if (result.IsSuccess)
    {
        var successfulResult = (GetUsageResponse.Success)result;

        var count = successfulResult.Usage.Count;

        var limit1 = successfulResult.Usage.Limit1;

        var limit2 = successfulResult.Usage.Limit2;
    }
}

Get usage and limits for a given day, month and year

 var adminKey = new AdminKey("Your Admin Key");

using (var api = new GetAddesssApi(adminKey))
{
    var result = await api.Usage.Get(DAY,MONTH,YEAR);

    if (result.IsSuccess)
    {
        var successfulResult = (GetUsageResponse.Success)result;

        var count = successfulResult.Usage.Count;

        var limit1 = successfulResult.Usage.Limit1;

        var limit2 = successfulResult.Usage.Limit2;
    }
}
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 netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.1 is compatible.  netstandard1.2 was computed.  netstandard1.3 was computed.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  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 tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Phone wpa81 was computed. 
Windows Store netcore was computed.  netcore45 was computed.  netcore451 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.4.2 1,520 12/28/2023
3.4.1 2,242 9/22/2023
3.4.0 631 9/16/2023
3.3.2 1,717 8/23/2023
3.3.1 132 8/23/2023
3.3.0 122 8/22/2023
3.2.2 4,269 7/7/2023
3.2.1 155 7/6/2023
3.2.0 455 6/22/2023
3.1.0 1,146 4/24/2023
3.0.0 204 4/21/2023
2.7.0 17,536 3/14/2023
2.6.0 3,498 2/18/2023
2.5.0 12,831 12/12/2022
2.4.0 1,580 11/28/2022
2.3.0 7,093 10/20/2022
2.2.0 1,455 10/5/2022
2.1.4 7,315 7/6/2022
2.1.3 427 7/4/2022
2.1.2 11,785 5/2/2022
2.1.1 3,549 3/8/2022
2.1.0 387 3/8/2022
2.0.10 4,275 1/27/2022
2.0.9 599 1/26/2022
2.0.8 8,742 8/22/2021
2.0.7 343 8/22/2021
2.0.6 426 8/11/2021
2.0.5 309 8/11/2021
2.0.4 772 7/7/2021
2.0.3 743 6/15/2021
2.0.2 502 6/1/2021
2.0.1 351 5/28/2021
2.0.0 396 5/28/2021
2.0.0-rc1 222 5/28/2021
2.0.0-rc 249 5/28/2021
2.0.0-beta 236 5/11/2021
1.92.0 83,066 3/4/2021
1.91.7 10,193 1/8/2021
1.91.6 460 1/7/2021
1.91.5 454 1/7/2021
1.91.4 1,839 1/3/2021
1.91.3 469 12/28/2020
1.91.2 507 12/18/2020
1.91.1 501 12/17/2020
1.9.9999 1,551 12/11/2020
1.9.9998 469 12/10/2020
1.9.9997 437 12/10/2020
1.9.9996 441 12/9/2020
1.9.9995 3,484 11/22/2020
1.9.9994 444 11/22/2020
1.9.9993 467 11/22/2020
1.9.9992 476 11/20/2020
1.9.9991 475 11/20/2020
1.9.999 431 11/20/2020
1.9.998 557 11/12/2020
1.9.997 1,184 11/8/2020
1.9.996 844 11/5/2020
1.9.995 1,617 10/30/2020
1.9.994 499 10/30/2020
1.9.993 919 10/28/2020
1.9.992 689 10/24/2020
1.9.991 814 10/16/2020
1.9.990 494 10/16/2020
1.9.989 501 10/15/2020
1.9.988 441 10/15/2020
1.9.987 468 10/14/2020
1.9.986 944 10/11/2020
1.9.985 3,053 10/4/2020
1.9.984 497 10/2/2020
1.9.983 20,758 9/28/2020
1.9.982 655 9/26/2020
1.9.981 474 9/25/2020
1.9.98 517 9/24/2020
1.9.97 1,200 9/17/2020
1.9.96 613 9/16/2020
1.9.95 529 9/16/2020
1.9.94 3,471 9/9/2020
1.9.93 3,948 8/25/2020
1.9.92 11,428 8/17/2020
1.9.91 488 8/12/2020
1.9.9 1,435 8/7/2020
1.9.8 486 8/7/2020
1.9.6 15,613 7/12/2020
1.9.5 13,084 5/29/2020
1.9.4 516 5/29/2020
1.9.3 4,195 4/23/2020
1.9.2 539 4/21/2020
1.9.1 517 4/21/2020
1.9.0 2,044 4/3/2020
1.8.0 906 3/26/2020
1.7.6 4,186 3/6/2020
1.7.5 515 3/6/2020
1.7.4 4,984 1/3/2020
1.7.3 557 12/27/2019
1.7.2 626 12/17/2019
1.7.1 2,243 11/19/2019
1.7.0 682 11/17/2019
1.6.4 636 11/5/2019
1.6.3 586 11/1/2019
1.6.2 780 10/17/2019
1.6.1 715 10/15/2019
1.6.0 3,062 9/27/2019
1.5.9 594 9/25/2019
1.5.8 1,326 8/15/2019
1.5.7 3,253 5/9/2019
1.5.6 1,160 5/1/2019
1.5.5 938 4/10/2019
1.5.4 670 4/10/2019
1.5.3 6,057 3/25/2019
1.5.2 7,623 2/28/2019
1.5.1 635 2/26/2019
1.5.0 754 2/14/2019
1.4.9 744 2/11/2019
1.4.7 784 2/9/2019
1.4.6 718 2/8/2019
1.4.5 714 2/5/2019
1.4.4 1,123 12/31/2018
1.4.3 712 12/30/2018
1.4.2 721 12/30/2018
1.4.1 2,408 10/29/2018
1.4.0 10,353 9/4/2018
1.3.2 7,608 4/22/2018
1.2.6 1,159 3/2/2018
1.2.5 901 2/28/2018
1.2.4 1,254 2/20/2018
1.2.3 1,210 1/22/2018
1.2.2 12,731 9/25/2017
1.2.1 1,018 9/25/2017
1.1.2 954 9/21/2017
1.1.1 946 9/21/2017
1.1.0 949 9/17/2017
1.0.5 1,094 9/14/2017
1.0.4 1,113 8/21/2017
1.0.3 1,393 7/16/2017
1.0.2 1,296 7/10/2017

Subscription API + update to HttpContext