Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.05 KB

README.rdoc

File metadata and controls

43 lines (26 loc) · 1.05 KB

TransIP API

Ruby gem to use the full TransIP API (v2).

For more info see:

Credits:

  • Savon Gem: See: savonrb.com. Wouldn’t be so simple without it!

Install

Use the gem.

gem install transip

For the latest version: Download / clone the repository. Bundle install the needed gems and require the lib.

git clone git://github.com/joost/transip-api.git
bundle install
irb # and require './transip'

Usage

For the most up-to-date documentation see the source files. Use as follows:

require 'transip'
transip = Transip.new('username', '12.34.12.3')
transip.generate_hash('your_api_password')
transip.actions # => [:check_availability, .., :set_contacts]
transip.request(:get_domain_names)
transip.request(:get_info, :domain_name => 'domain.com')

TODO

  • Tests

Please feel free to contribute and send me a pull request via Github!

Copyright © 2011 Joost Hietbrink, released under the MIT license