Skip to content

Commit

Permalink
Fix NameError in README example
Browse files Browse the repository at this point in the history
  • Loading branch information
coldfix committed Aug 17, 2018
1 parent c131a77 commit 799c952
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
A simple API wrapper for the netcup DNS API

```python
import nc_dnsapi
from nc_dnsapi import Client, DNSRecord

customer = 123456
api_key = "your-personal-api-key"
api_password = "your-private-api-password"

with nc_dnsapi.Client(customer, api_key, api_password) as api:
with Client(customer, api_key, api_password) as api:
# fetch records
records = api.dns_records("example.com")
print(records)
Expand Down

0 comments on commit 799c952

Please sign in to comment.