cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
163
Views
2
Helpful
7
Replies

is there an openDNS api for python?

ctang
Level 1
Level 1

I'd like to change the web content filtering based on time for the kids... for example, no games and youtube as soon as they wake up.

If such an API does not exist, can someone explain how do I login via python?

7 Replies 7

rotblitz
Level 6
Level 6

There is no such API for settings changes or login. The only API is for IP address updates.

itselines
Level 1
Level 1

309368103, do you have the API documentation for IP address updates ?

itselines
Level 1
Level 1

Thanks 309368103

I am using the following format in python:

https://OPENDNS_USER_EMAIL:OPENDNS_PWD@updates.opendns.com/nic/update?hostname=NETWORKNAME&myip=x.x.x.x

I get a 200 OK response but the Network is not updated.

Any ideas?

rotblitz
Level 6
Level 6

What is the HTML response? Is it “Good x.x.x.x”?
x.x.x.x must be your IP address. You can omit the myip parameter.

tones1
Level 1
Level 1

ctang this world be a great feature... I'd like to be able to do this too

quentinyang
Level 1
Level 1

This is also the feature I've been looking for to set up automatic parenting control.

It'll be great if it's available.