Project

inwx-rb

0.01
No release in over 3 years
Low commit activity in last 3 years
INWX XML-RPC client.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.9
~> 10.0
 Project Readme

INWX Domrobot Ruby Client

You can access all functions of our frontend via our API, which is available via the XML-RPC or JSON-RPC protocol and thus can be easily consumed with all programming languages.

There is also an OT&E test system, which you can access via ote.inwx.com. Here you will find the known web interface which is using a test database. On the OT&E system no actions will be charged. So you can test as much as you like there.

Documentation

You can view a detailed description of the API functions in our documentation. You can find the online documentation by clicking here.

If you still experience any kind of problems don't hesitate to contact our support via email.

Installation

gem install inwx-domrobot

Example

require 'inwx-domrobot'
require 'pp'

user = ''
pass = ''

domrobot = INWX::Domrobot.new

result = domrobot.set_language('en').
         use_ote.
         use_json.
         show_debug(true).
         login(user, pass)

object = 'domain'
method = 'check'

params = { domain: 'mydomain.com' }

if result['code'] == 1000
  result = domrobot.call(object, method, params)

  domrobot.logout
end

pp result

You can also look at the example.rb in the Project.

License

MIT