Skip to content

graham-saunders/FullContactDotNet

 
 

Repository files navigation

FullContactDotNet Build status

A C# client for the Full Contact Api.

Nuget Package

You can find the Nuget Package at https://www.nuget.org/packages/FullContactDotNet/

To Install use the package manager command: Install-Package FullContactDotNet -Pre

ApiKey

To use this client you will need an ApiKey from FullContact. Once the ApiKey is aquired, you can either set it in your configuration as an App Setting or supply it upon creation of the Api.

Quick Overview

To get a handle on what FullContact provides check out their Api documentation. This project is a work in progress but it does currently provide the Account, CardReader, Company, Email, Location, Name, and Person Apis.

A quick example of how to use the Api:

var emailApi = FullContactEmailApi("your-api-key-here");
var result = emailApi.DetectDisposableEmail("bobloblaw@example.com");

Error Handling

All response objects inherit from the FullContactResponse object which gives them the HttpStatusCode and the corresponding message from FullContact to describe what happened with the response. If it is a 200, there is data provided. If it is a 202, they need to process the request and no data is provided. Finally if there is a 404, nothing was found.

In the special instances of a Forbidden response or the RestSharp library had an exception, a FullContactApiException will be thrown to tell the user something exceptional happened.

About

A C# client for the Full Contact Api.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.9%
  • Batchfile 0.1%