domeneshop-0.4.3
توضیحات
Domeneshop API library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | domeneshop-0.4.3 |
| نام | domeneshop |
| نسخه کتابخانه | 0.4.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Domeneshop AS |
| ایمیل نویسنده | kundeservice@domeneshop.no |
| آدرس صفحه اصلی | https://github.com/domeneshop/python-domeneshop |
| آدرس اینترنتی | https://pypi.org/project/domeneshop/ |
| مجوز | MIT License |
domeneshop
==========
Python 3 library for working with the Domeneshop_ API.
**Note:** This library does *not* support Python 2.x.
.. _Domeneshop: https://domene.shop
Installation
------------
``pip3 install domeneshop``
Credentials
-----------
Use of this plugin requires Domeneshop API credentials.
See the `Domeneshop API <https://api.domeneshop.no/docs>`_ documentation for more information.
Examples
--------
Listing DNS records for the first domain in your account:
.. code:: python
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 <examples/>`_ folder.
Documentation
-------------
Coming soon.
In the meantime, see the docstrings for `domeneshop.client.Client <src/domeneshop/client.py>`_.
نیازمندی
| مقدار | نام |
|---|---|
| - | urllib3 |
| - | certifi |
| - | black |
| - | mypy |
| - | prospector |
| - | wheel |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| !=2.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* | Python |
نحوه نصب
نصب پکیج whl domeneshop-0.4.3:
pip install domeneshop-0.4.3.whl
نصب پکیج tar.gz domeneshop-0.4.3:
pip install domeneshop-0.4.3.tar.gz