Skip to content

zingz0r/CloudFlare.Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudFlare.Client

Donate Nuget Nuget Libraries.io GitHub issues License: MIT

♻️ CI ♻️ CD Quality Gate Status Code Smells Security Rating Technical Debt

Info: The library currently targets the .Net Standard platforms

Usage

    using var client = new CloudFlareClient("address@example.com", "globalApiKeyFromCF");

    var zones = await client.Zones.GetAsync(cancellationToken: ct);

    foreach (var zone in zones.Result)
    {
        var dnsRecords = await client.Zones.DnsRecords.GetAsync(zone.Id, cancellationToken: ct);
        foreach (var dnsRecord in dnsRecords.Result)
        {
            Console.WriteLine(dnsRecord.Name);
        }

        Console.WriteLine(zone.Name);
    }

For real example check out this dns updater project: CloudFlare DNS Updater Service

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