GodaddyWrapper.NET is a .NET Core Wrapper for calling GoDaddy REST API.
Pre-release version in Nuget Visit Nuget
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);
}
As I only use the domain part (Suggested Domain, Buy Domain, CheckAvailable...etc), the other parts I haven't test it so feel free to leave an issue if you find something wrongs.(Also welcome to make a pull request) Please provide the info as much as you can.