ResellerClub API in Python & Command Line Client
-------------------------------------------
This is a command line client for the `Resellerclub HTTP API`__. It can
also be used as a library (Python).
__ http://manage.resellerclub.com/kb/answer/744
For now, only a couple of DNS related functions are implemented. Pull
requests certainly welcome. Its straightforward to extend.
Usage:
------
DNS::
$ resellerclub dns example.org add A foo 8.8.8.8
$ resellerclub dns example.org delete A foo 8.8.8.8
$ resellerclub dns example.org list A foo
Installation & Setup
-----------------
::
$ pip install resellerclub
First, realize that Resellerclub requires you to whitelist your ip address
(they implement this whitelist on a firewall level). This is probably no good
if you want to use this tool on your workstation, so I encourage you setup
a proxy. You can find a ready-to-use docker image for such a proxy here:
https://index.docker.io/u/elsdoerfer/resellerclub-api-proxy/
You'll also need to determine your reseller id and your api key. The whole
thing is explained here:
http://manage.resellerclub.com/kb/answer/753
You currently need to provide this data via environment variables. I suggest
you add them to your profile:
RESELLERCLUB_USER_ID
Your reseller id
RESELLERCLUB_API_KEY
Your API Key
RESELLERCLUB_URL
Optional: The base url to use for the API. Unless you provide a
proxy, this will be the default server that whitelists IPs.
-------------------------------------------
This is a command line client for the `Resellerclub HTTP API`__. It can
also be used as a library (Python).
__ http://manage.resellerclub.com/kb/answer/744
For now, only a couple of DNS related functions are implemented. Pull
requests certainly welcome. Its straightforward to extend.
Usage:
------
DNS::
$ resellerclub dns example.org add A foo 8.8.8.8
$ resellerclub dns example.org delete A foo 8.8.8.8
$ resellerclub dns example.org list A foo
Installation & Setup
-----------------
::
$ pip install resellerclub
First, realize that Resellerclub requires you to whitelist your ip address
(they implement this whitelist on a firewall level). This is probably no good
if you want to use this tool on your workstation, so I encourage you setup
a proxy. You can find a ready-to-use docker image for such a proxy here:
https://index.docker.io/u/elsdoerfer/resellerclub-api-proxy/
You'll also need to determine your reseller id and your api key. The whole
thing is explained here:
http://manage.resellerclub.com/kb/answer/753
You currently need to provide this data via environment variables. I suggest
you add them to your profile:
RESELLERCLUB_USER_ID
Your reseller id
RESELLERCLUB_API_KEY
Your API Key
RESELLERCLUB_URL
Optional: The base url to use for the API. Unless you provide a
proxy, this will be the default server that whitelists IPs.
Metadata
Release files for resellerclub 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| resellerclub-0.1.3.tar.gz | 3.3 kB | Details |
Release files / resellerclub-0.1.3.tar.gz
| Download URL | resellerclub-0.1.3.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee3826646edca64d4e959688baa8b035aafb7e3095bd8281c83a6bc205f9eaf1
|
|
BLAKE2b-256 checksum How to use checksums |
843423728d7ad8aab59b0ede601d6e9066d81814e935ec38e443a556a2e3274d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |