Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby lib to use the full TransIP API
Ruby
tree: d073555f95

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Gemfile
Gemfile.lock
MIT-LICENSE
README.rdoc
transip.rb

README.rdoc

TransIP API

Ruby lib 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

Have to turn into a gem.. 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:

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

  • Turn into gem

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

Copyright © 2011 Joost Hietbrink, released under the MIT license

Something went wrong with that request. Please try again.