Skip to content

marchere/GodaddyWrapper.Net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GodaddyWrapper.Net

nuget Build status

A Brief Intro

GodaddyWrapper.NET is a .NET Wrapper for calling GoDaddy REST API.

Visit GoDaddy Rest API Docs

Usage

var client = new Client("{key}", "{secret}", "https://api.godaddy.com/api/v1/"); 
// Default is https://api.ote-godaddy.com/api/v1/ (Test link of Godaddy)
try
{
    var response = await client.CheckDomainAvailable(new DomainAvailable
    {
        domain = "google.com"
    });
}
catch (GodaddyException ex) 
{
    //Godaddy Error Message from the Godaddy API
    Console.WriteLine(ex.ErrorResponse.Message);
    //Error Code
    Console.WriteLine(ex.StatusCode);
}

Remark

As I only use the domain part (Suggested Domain, Buy Domain, CheckAvailable, etc.), I haven't tested the other parts of it so feel free to leave an issue if you find something wrong (also welcome to make a pull request). Please provide as much info as you can.

About

.Net GoDaddy API Wrapper in C#

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • C# 100.0%