Skip to content

.NET client for communication with the CloudFlare service API.

License

Notifications You must be signed in to change notification settings

EMDL-bot/CloudFlare.Client

 
 

Repository files navigation

CloudFlare.Client

Donate Nuget Nuget Libraries.io GitHub issues Licence

Codacy Badge Build Status Azure DevOps coverage Azure DevOps tests

Info: The library currently targets LTS .Net Core and .Net Standard platforms

Usage

    using var client = new CloudFlareClient("[email protected]", "globalApiKeyFromCF")
    
    var zones = await client.GetZonesAsync();

    foreach (var zone in zones.Result)
    {
        var dnsRecords = await client.GetDnsRecordsAsync(zone.Id);
        foreach (var dnsRecord in dnsRecords.Result)
        {
            Console.WriteLine(dnsRecord.Name);
        }

        Console.WriteLine(zone.Name);
    }

Implemented functionality

Check the implemented functionality wiki page.

About

.NET client for communication with the CloudFlare service API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%