Skip to main content

ResellerClub API CLI client

Project description

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.

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

resellerclub-0.1.2.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file resellerclub-0.1.2.tar.gz.

File metadata

  • Download URL: resellerclub-0.1.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for resellerclub-0.1.2.tar.gz
Algorithm Hash digest
SHA256 98c376449e459c1e37506cd1be4942365aacf6788f6b1fed76560a71eff4cb01
MD5 9ccd6417e0a8ff18d497b53a16486161
BLAKE2b-256 75cd90b5af8bd9775e97e6af8d3c8b7683cadf0c5e04fe1b3f3dd5747d917f4d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page