Domeneshop API library
Project description
Python 3 library for working with the Domeneshop API.
Note: This library does not support Python 2.x.
Installation
pip3 install domeneshop
Credentials
Use of this plugin requires a Domeneshop API credentials.
See the Domeneshop API documentation for more information.
Examples
Listing DNS records for the first domain in your account:
from domeneshop import Client
if __name__ == "__main__":
client = Client("<token>", "<secret>")
domains = client.get_domains()
domain = domains[0]
print("DNS records for {0}:".format(domain["domain"]))
for record in client.get_records(domain["id"]):
print(record["id"], record["host"], record["type"], record["data"])
More examples can be found in the examples folder.
Documentation
Coming soon.
In the meantime, see the docstrings for domeneshop.client.Client.
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
domeneshop-0.4.0.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for domeneshop-0.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cbe45bff1cdd395ada5fff17681f3724bd74ebf857912d62fa24185e4b65505 |
|
MD5 | 72003a5461b25a1f8fecf3fb9c758705 |
|
BLAKE2b-256 | 2100079f276042bb01b867b7fce110234719e19bcacf2339029815b5a600127c |