Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
mahtin committed May 3, 2016
1 parent 1eed90b commit ddbc44f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ The CloudFlare API can be found [here](https://api.cloudflare.com/). Each API ca
A very simple listing of zones within your account; including the IPv6 status of the zone.

```
from cloudflare_v4 import CloudFlare
from CloudFlare import CloudFlare
def main():
cf = CloudFlare()
cf = CloudFlare.CloudFlare()
zones = cf.zones.get(param={'per_page':50})
for zone in zones:
zone_name = zone['name']
Expand All @@ -43,7 +43,7 @@ A more complex example follows.
```
zone_name = 'example.com'
cf = CloudFlare()
cf = CloudFlare.CloudFlare()
# query for the zone name and expect only one value back
try:
Expand Down Expand Up @@ -117,7 +117,7 @@ The _example_ folder contains many examples in both simple and verbose formats.
All API calls can be called from the command line. The command will convert domain names on-the-fly into zone_identifier's.

```
$ cli4 [--help] [--verbose] [--get|--put|--patch|--delete] command
$ cli4 [-h|--help] [-v|--verbose] [-q|--quiet] [--get|--patch|--post|-put|--delete] /command...
```

Expand All @@ -132,7 +132,7 @@ Sample commands include
* ```cli4 --put /zones/:example.com/activation_check```
* ```cli4 /zones/:example.com/keyless_certificates```

* ```cli4 /zones/:asntryst.com/analytics/dashboard```
* ```cli4 /zones/:example.com/analytics/dashboard```

The output from the CLI command is in json format (and human readable).

Expand Down

0 comments on commit ddbc44f

Please sign in to comment.