This repository was archived by the owner on Nov 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,20 @@ When you see this README complete change you will know that `3.x` has been relea
3434[! [Downloads](https://static.pepy.tech/badge/cloudflare/week)](https://pepy.tech/project/cloudflare)
3535[! [Downloads](https://img.shields.io/pypi/pyversions/cloudflare.svg)](https://pepy.tech/project/cloudflare)
3636
37+ # # Instant how-to-use example
38+
39+ If you want to call the following API call:
40+ ` ` `
41+ https://api.cloudflare.com/client/v4/zones/{zone_id}/dns_records/{dns_record_id}
42+ ` ` `
43+
44+ It would translates to the following Python code:
45+ ` ` ` python
46+ results = cf.zones.dns_records(zone_id, dns_record_id)
47+ ` ` `
48+
49+ Many more examples are below and/or in the ` examples` folder.
50+
3751# # Installation
3852
3953Two methods are provided to install this software.
@@ -1516,7 +1530,7 @@ As of January 2020 the code is Python3.8 clean. The new `SyntaxWarning` messages
15161530
15171531As of late 2023 the code is Python3.11 clean.
15181532
1519- As of February 2024 the code is officially marked as 3.x only (3.5 and above to be specific) such that it can become PEP561 specific.
1533+ As of April 2024 the code is officially marked as 3.x only (3.6 and above to be specific) such that it can become PEP561 specific.
15201534
15211535# # pypi and GitHub signed releases
15221536
You can’t perform that action at this time.
0 commit comments