Skip to content

coderpros/kickbox-core

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn Twitter GitHub

KickBox-Core

A KickBox.io API wrapper for .Net 6 written in C#.

How to use

  • Create a free account at Kickbox.io.
  • Sign up for an API Key.
  • Add your own Kickbox API key when you instantiate the KickBox object.

I've included a test client application in this project, but here is is an elaboration on how to use each of the methods.

This is available as a NuGet package here: Nuget.org

Verify a single email address

var kickbox = new KickBoxApi("*** ADD API KEY HERE ***", "https://api.kickbox.com/v2");

var verificationResponse1 = await kickbox.VerifyEmail(new MailAddress("info@coderpro.net"))
                                    .ConfigureAwait(true);

Verify multiple email addresses in a batch.

var verificationResponse2 = await kickbox.VerifyBatch(
                                            mailAddresses: new[]
                                            {
                                              new MailAddress("brandon.osborne@gamil.com"),
                                              new MailAddress("info@coderpro.net")
                                            },
                                            fileName: "test file",
                                            batchVerificationCallback: null)
                                            .ConfigureAwait(false);

Check status of a bulk verification job

var verificationResponse3 = await kickbox.CheckStatus(1234567)
                                    .ConfigureAwait(true);

Change Log

  • 2020/08/25
    • Initial commit
  • 2023/08/25
    • Upgraded to .Net 6
    • Added method to check balance.
    • Added synchronous methods.

Releases

No releases published

Packages

No packages published

Languages