An async C# library for automatically renewing Freenom domains.
Warning
This library doesn't implement domain registration and configuration web API routes, as these can be easily abused for spam.
Provides an easy interface for interacting with the Freenom web API routes. This allows you to programmatically renew your domains.
To get started, add the library into your solution with either the NuGet Package Manager
or the dotnet
CLI.
dotnet add package Freenom.NET
For the primary classes to become available, import the used namespace.
using Freenom;
Need more examples? Under the Example
directory you can find a working demo project that implements this library.
FreenomClient freenom = new();
string name = await freenom.Login("EMAIL", "PASSWORD");
AccountInfo info = await freenom.GetAccountInfo();
RenewalDomain[] renewals = await freenom.GetRenewals();
RenewalDomain[] renewable = renewals.Where(x => x.Renewable).ToArray();
long orderId = await freenom.RenewDomain(6236693445, 12);
- Built for .NET 6 and .NET 7
- Fully async
- Extensive XML documentation
- Custom exceptions (
FreenomException
) for advanced catching - Automatically renew Freenom domains that are expiring soon
- Automatic request retries
- Example project to show the usage of the library
- Task<string> Login(string email, string password)
- Task Logout()
- Task<AccountInfo> GetAccountInfo()
- Task<RenewalDomain[]> GetRenewals()
- Task<long> RenewDomain(long id, int months)
This is a community-ran library. Not affiliated with OpenTLD BV.