Skip to content

Commit 0dee0ba

Browse files
committed
add getting dns records
1 parent dcbc9a8 commit 0dee0ba

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

cloudflare_v4/zones/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from .. import util
2+
from . import dns_records
23

34
ENDPOINT = 'zones'
45

cloudflare_v4/zones/dns_records.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from .. import util
2+
3+
ENDPOINT = 'dns_records'
4+
5+
def get(auth, params=None):
6+
util.call(auth, 'GET', 'zones/' + params + '/' + ENDPOINT)

0 commit comments

Comments
 (0)