Skip to content

Instantly share code, notes, and snippets.

View cosgroma's full-sized avatar

Mathew Cosgrove cosgroma

View GitHub Profile
@cosgroma
cosgroma / _hover_example.py
Last active May 7, 2016 16:04 — forked from dankrause/_hover_example.py
Example code to use the (unofficial, unsupported, undocumented) hover.com DNS API.
import requests
class HoverException(Exception):
pass
class HoverAPI(object):
def __init__(self, username, password):
params = {"username": username, "password": password}
r = requests.post("https://www.hover.com/api/login", params=params)