Skip to content

Commit

Permalink
Fix exsample for dns records
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxmaster5000 committed Jan 25, 2019
1 parent f093798 commit 58b9e0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ api_password = "your-private-api-password"
with Client(customer, api_key, api_password) as api:
# fetch records
records = api.dns_records("example.com")
print(records)
for record in records:
print(record)

# fetch zone details
zone = api.dns_zone("example.com")
Expand Down

0 comments on commit 58b9e0b

Please sign in to comment.