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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
resellerclub-0.1.3.tar.gz
(3.3 kB
view details)
File details
Details for the file resellerclub-0.1.3.tar.gz.
File metadata
- Download URL: resellerclub-0.1.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee3826646edca64d4e959688baa8b035aafb7e3095bd8281c83a6bc205f9eaf1
|
|
| MD5 |
879ffcc155701a6151a7c0790d924a8d
|
|
| BLAKE2b-256 |
843423728d7ad8aab59b0ede601d6e9066d81814e935ec38e443a556a2e3274d
|