opensrscli

A CLI for OpenSRS reseller accounts
Download

opensrscli Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Shawn Siefkas
  • Publisher web site:
  • http://packages.python.org/

opensrscli Tags


opensrscli Description

opensrscli is a Python module that provides a set of pyCLI applications for interfacing with an OpenSRS reseller account.InstallationI haven't put this on pypi yet so install from github for the time being: pip install opensrscliDevelopmentInstall virtualenv and distribute if they aren't already present: pip install distribute virtualenvClone the project and initialize a development environment: git clone git://github.com/shawnsi/opensrs-cli.git && cd opensrs-cli virtualenv . source /bin/activateYou can use distribute to install dependencies and setup entry points: python setup.py developConfigurationBasic AuthYou must create a yaml file to provide OpenSRS authentication info at a minimum. This should match the user and private key information you setup in the OpenSRS reseller dashboard for API access.Auth template:username:private_key:Now provide the prefs.yaml file to opensrs commands with the -p or --preferences parameter. If no preferences file is specified opensrs-cli will look in $HOME/.opensrs/prefs.Contact SetsIn order to perform and domain registration or transfers contact sets will need to be defined. Add them to prefs.yaml using the following template. A default contact can be provided and fields can be overriden for admin, owner, billing, or tech contacts.Contact set template:contact_set: default: first_name: last_name: org_name: address1: city: state: postal_code: country: phone: email: billing: last_name: email: tech: last_name: email:UsageThis package installs scripts prefixed with opensrs.Currently provided:- opensrs-balance- opensrs-check-transfer- opensrs-transferProduct's homepage


opensrscli Related Software