CraftyClicks.PostCode.Loookup 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package CraftyClicks.PostCode.Loookup --version 1.0.0                
NuGet\Install-Package CraftyClicks.PostCode.Loookup -Version 1.0.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="CraftyClicks.PostCode.Loookup" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CraftyClicks.PostCode.Loookup --version 1.0.0                
#r "nuget: CraftyClicks.PostCode.Loookup, 1.0.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 CraftyClicks.PostCode.Loookup as a Cake Addin
#addin nuget:?package=CraftyClicks.PostCode.Loookup&version=1.0.0

// Install CraftyClicks.PostCode.Loookup as a Cake Tool
#tool nuget:?package=CraftyClicks.PostCode.Loookup&version=1.0.0                
Product Compatible and additional computed target framework versions.
.NET Framework net451 is compatible.  net452 is compatible.  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. 
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.0.1 2,044 10/5/2017
1.0.0 1,254 9/20/2017

Welcome to Crafty Clicks Api Nuget
This Crafty Clicks api was Created by me David Buckley, to allow .net developers to use the super easy api by Crafty Clicks

The Crafty Clicks api allows you to look up uk address in single format and multiple to setup the Crafty Clicks in your web app
or dekstop app please make sure to complete the following setps.

Step 1
Include the following two urls in the appsettings of your config file.

<add key="CraftyClicksApiUrl" value="http://pcls1.craftyclicks.co.uk/json/rapidaddress" />
<add key="CraftyClicksSingleApiUrl" value="http://pcls1.craftyclicks.co.uk/json/rapidaddress" />
 
Setp 2
Add your Crafty Clicks api code to the this can be the default appsettings in
web.config or app.config file in the format off.
 
<add key="CraftyClicksApiKey" value="REPLACE-WITH-YOUR-KEY" />

Step 3

Use the following using statments:

using CraftyClicksPostCodeApi;
using CraftyClcks.Models;

Add the following propertie references:

       public static List<ClsAddress> addressList = new List<ClsAddress>();
       public CraftyClicksRapidAddressLoookup  _mCraftyClicks = new  CraftyClicksRapidAddressLoookup();

Step 4
On  a button click method or simlar can even been within a ajax panel

          _mCraftyClicks.GetRapidAddressByPostCode(txtPostCode.Text);
           addressList = _mCraftyClicks.addressList;
Thats is thats all there is two it feel free to play about with the various methods that are contained in the dll we will be functions
in due corse.

This nuget is not copyright Crafty Clicks but David Buckley Crafty Clicks do not support this nuget in any way.

The error returned from the api is stored in a variable mStatus if anyone knows a better way of doing this please submit it to the site github which is shown in the project url. There is an async method as well avail for you.