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 +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ The CloudFlare API can be found [here](https://api.cloudflare.com/). Each API ca
2020A very simple listing of zones within your account; including the IPv6 status of the zone.
2121
2222```
23- from cloudflare_v4 import CloudFlare
23+ from CloudFlare import CloudFlare
2424
2525def main():
26- cf = CloudFlare()
26+ cf = CloudFlare.CloudFlare ()
2727 zones = cf.zones.get(param={'per_page':50})
2828 for zone in zones:
2929 zone_name = zone['name']
@@ -43,7 +43,7 @@ A more complex example follows.
4343```
4444 zone_name = 'example.com'
4545
46- cf = CloudFlare()
46+ cf = CloudFlare.CloudFlare ()
4747
4848 # query for the zone name and expect only one value back
4949 try:
@@ -117,7 +117,7 @@ The _example_ folder contains many examples in both simple and verbose formats.
117117All API calls can be called from the command line. The command will convert domain names on-the-fly into zone_identifier's.
118118
119119```
120- $ cli4 [-- help] [-- verbose] [-- get|--put |--patch|-- delete] command
120+ $ cli4 [-h|-- help] [-v|-- verbose] [-q|--quiet] [-- get|--patch |--post|-put|-- delete] / command...
121121
122122```
123123
@@ -132,7 +132,7 @@ Sample commands include
132132 * ``` cli4 --put /zones/:example.com/activation_check ```
133133 * ``` cli4 /zones/:example.com/keyless_certificates ```
134134
135- * ``` cli4 /zones/:asntryst .com/analytics/dashboard ```
135+ * ``` cli4 /zones/:example .com/analytics/dashboard ```
136136
137137The output from the CLI command is in json format (and human readable).
138138
You can’t perform that action at this time.
0 commit comments