Accessing the API
Hello, just a question to the devs regarding the API access for data retrieval.
I am using the following links in a python script to locally display my stats.
eg1. https://api.nextdns.io/configurations/*****/analytics/counters?from=-30d&timezoneOffset=-120
eg2. https://api.nextdns.io/configurations/******/analytics/top_domains/resolved?from=-30d&timezoneOffset=-120
etc..
To successfully retrieve the data I am passing my cookie using the requests module.
I would like to know if there are any plans on implementing an API key or anything similar for that matter.
Also, is a 10 minute interval between the requests acceptable (in order not to overload the server)
Thanks
1 reply
-
There are three cookies passed: sid, pst, and __cfduid; which one are you passing along in requests.get()?
Content aside
-
5
Likes
- 3 yrs agoLast active
- 1Replies
- 538Views
-
5
Following