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 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
See the docstrings for domeneshop.client.Client.
Metadata
Release files for domeneshop 0.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| domeneshop-0.4.4.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| domeneshop-0.4.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 10.0 kB
Release files / domeneshop-0.4.4.tar.gz
| Download URL | domeneshop-0.4.4.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
502c480e7848024c59d68417611c8031d1a052c519e809585f0b312f8f531408
|
|
BLAKE2b-256 checksum How to use checksums |
30e3950aaa3a01b863ae72933afc0856a88484a01e9023dfaf07986b3b2bb867
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|
Release files / domeneshop-0.4.4-py2.py3-none-any.whl
| Download URL | domeneshop-0.4.4-py2.py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
60845dd023896f82fc6edd3e4bd1542b37121116a5e44fe28526f6f0af5a8cf3
|
|
BLAKE2b-256 checksum How to use checksums |
8afe0aa42299d78443f0a18cc14bb9d93988ee3927f7aff056dee6de70fd5e97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|