5

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

1reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • There are three cookies passed:  sid, pst, and __cfduid; which one are you passing along in requests.get()?

    Like
Like5 Follow
  • 5 Likes
  • 8 mths agoLast active
  • 1Replies
  • 393Views
  • 5 Following