Skip to main content

A python connector for RRP Proxy

Project description

rrpproxy

A python connector for RRP Proxy

connect

from rrpproxy import RRPProxy
proxy = RRPProxy('username', 'password')

connect to sandbox

from rrpproxy import RRPProxy
proxy = RRPProxy('username', 'password', use_test_environment=True)

usage

proxy.check_domain('hypernode.com')
{'code': '210',
 'description': 'Domain name available',
 'runtime': '0.267',
 'queuetime': '0'
} 
proxy.add_domain(domain='newdomain.tld', period=2, ownercontact0='Owner', techcontact0='Tech-user', billingcontact0='Billing-User', admincontact0='Admin', auth='2foo"BAR%', nameserver0='nameserver', nameserver1='nameserver1', x-fee-amount=2000)
{'code': '200',
 'description': 'Command completed succesfully',
 'property': {
      'x-fee-amount': ['2000'],
      'x-fee-application': ['0'],
      'x-fee-currency': ['EUR'],
      'created date': ['2015-06-24 11:53:27'],
      'registration expiration date': ['2017-06-24 11:53:27'],
      'renewal date': ['2017-07-29 11:53:27'],
      'roid': ['13530236711060_DOMAIN-KEYSYS'],
      'status': ['ACTIVE'],
 },
'runtime': '0.1',
'queuetime: '0',
}

Running tests

The tests can be run by using $ tox

More info

For more information related to the RRP Proxy API, visit: https://wiki.rrpproxy.net/api/api-commands/api-command-reference

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

rrpproxy-0.0.2.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file rrpproxy-0.0.2.tar.gz.

File metadata

  • Download URL: rrpproxy-0.0.2.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for rrpproxy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d3d5941d9671ccb4c848aac72074e5b8b1c0f8f85a481f6d61eab2aa5ea6f7d3
MD5 b15325f3f85f798d19feeffa9c0fa758
BLAKE2b-256 24058cb022cc76e73812999047e07678dc2d86b7f41c24513a7cc9ea0876738e

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