A simple wrapper for the NameSilo API.
Project description
A simple wrapper for the NameSilo API.
Install
To install via pip:
pip install namesilo
Usage
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’)
Operations
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file namesilo-0.1.6.tar.gz
.
File metadata
- Download URL: namesilo-0.1.6.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe5b4d712b92930871384c0403c7a5b16caa019eb503c7d54803c374be40a422 |
|
MD5 | fa605b21f70fe2d36ca1dfba4abe12cb |
|
BLAKE2b-256 | 5bf7fb1c02f522b5c7af3e7cf3e76c4ff820385706a860303b6c99515b2fc220 |