GodaddyWrapper 4.0.0-beta2
dotnet add package GodaddyWrapper --version 4.0.0-beta2
NuGet\Install-Package GodaddyWrapper -Version 4.0.0-beta2
<PackageReference Include="GodaddyWrapper" Version="4.0.0-beta2" />
<PackageVersion Include="GodaddyWrapper" Version="4.0.0-beta2" />
<PackageReference Include="GodaddyWrapper" />
paket add GodaddyWrapper --version 4.0.0-beta2
#r "nuget: GodaddyWrapper, 4.0.0-beta2"
#:package GodaddyWrapper@4.0.0-beta2
#addin nuget:?package=GodaddyWrapper&version=4.0.0-beta2&prerelease
#tool nuget:?package=GodaddyWrapper&version=4.0.0-beta2&prerelease
GodaddyWrapper.Net
A Brief Intro
GodaddyWrapper.NET is a .NET Wrapper for calling GoDaddy REST API.
Usage
.NET Framework
var options = new GoDaddyClientOptions
{
AccessKey = "{key}",
SecretKey = "{secret}",
IsTesting = true /* false to use production */
};
var client = new GoDaddyClient(options);
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);
}
.NET Core/.NET 5+
Program.cs / Startup.cs
builder.Services.AddGoDaddy(
configuration.GoDaddyAccessKey,
configuration.GoDaddySecretKey,
configuration.Sandbox);
Service Class (or controller)
public class GoDaddyDomainService(GoDaddyClient goDaddyClient)
try
{
var response = await goDaddyClient.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);
}
Version History
4.0.0 (currently beta)
- GoDaddy V2 APIs
- GoDaddy ANS API
- Dependency updates
3.4.0
- Updated dependencies
3.3.0
- Fixed NameServers property on DomainUpdate request
3.2.0
- Dependency updates
3.1.0
- JSON Updates (#48 by @dlmelendez)
3.0.0
- Various dependency updates
- Eliminated new
HttpClientinstantiation for every API call
⚠️Breaking Changes
- Renamed
ClienttoGoDaddyClient - Constructor now takes
GoDaddyClientOptionsobject (.NET Framework 4.6.2+ only) - Dependency injection pattern with
builder.Services.AddGoDaddy()registration
2.0.0
- Dropped explicit support for .NET Core 2.1
- Updated support to .NET Standard 2.0
- Added support for .NET 6
Notes
As I have only used the domain features (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.
APIs that require a ShopperId require an API Reseller plan and Good as Gold account
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Net.Http (>= 4.3.4)
- System.Net.Http.Json (>= 10.0.5)
-
.NETStandard 2.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Http (>= 10.0.5)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Net.Http (>= 4.3.4)
- System.Net.Http.Json (>= 10.0.5)
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 | |
|---|---|---|---|
| 4.0.0-beta2 | 30 | 4/3/2026 | |
| 4.0.0-beta1 | 80 | 4/2/2026 | |
| 3.4.0 | 167 | 3/13/2026 | |
| 3.3.0 | 960 | 10/23/2025 | |
| 3.2.0 | 177 | 10/17/2025 | |
| 3.1.0 | 1,002 | 12/1/2024 | |
| 3.0.0 | 431 | 10/24/2024 | |
| 3.0.0-beta1 | 188 | 10/22/2024 | |
| 2.0.0 | 1,847 | 9/18/2023 | |
| 1.3.3 | 3,784 | 10/25/2022 | |
| 1.3.2 | 1,052 | 9/21/2022 | |
| 1.3.1 | 1,113 | 7/5/2022 | |
| 1.3.0 | 1,016 | 6/29/2022 | |
| 1.2.4 | 2,185 | 12/31/2021 | |
| 1.2.2 | 954 | 8/24/2021 | |
| 1.2.1 | 2,091 | 12/11/2020 | |
| 1.2.0 | 1,147 | 12/10/2020 | |
| 1.1.4-beta | 1,777 | 11/13/2020 |
Added GoDaddy V2 API support, added ANS API support