As a start I have installed cloudflare Python Module (4.0.0), but when I try to run that script given on Cloudflare API documentation, it gives me an error, and I really don’t know what can be, since I have been using ‘requests’ with cloudflare queries with an API Key that has real-only for all permissions (set on my account), and have been able to get data, but with that python module I am getting:
client = Cloudflare( api_email=CLOUDFLARE_EMAIL api_key=CLOUDFLARE_API_KEY ) page = client.dns.records.list( zone_id=ZONE_ID, ) page = page.result[0] print(page) Have also tried with just user_service_key inside of client, taking into account that was using just an API KEY to auth before over the other method, but got the same error.
I am trying to use this python module because it will be a lot more easier for me to work with.
I am felling a bit lost here … anyone here know what can be? or had the same issue?