A simple wrapper for the NameSilo API.
To install via pip:
pip install namesilo
Instantiating the client:
import namesilo
# By default the client initializes in sandbox mode ns = namesilo.NameSilo('API KEY HERE')
# Instantiate in live mode ns = namesilo.NameSilo('API KEY HERE', live=True)
From here you can call operations like so:
ns.register_domain(domain='yourdomain.com', years='1')
This client renames the operations to follow a more consistent convention of (verb)_(subject). See namesilo.NAMESILO_OPERATIONS to seehow these method names map to their NameSilo counterparts. The goal of this mapping its to make the API more intuitive.