cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chip Childers <chip.child...@sungard.com>
Subject CloudStack Ruby Client
Date Fri, 25 Jan 2013 18:53:46 GMT
I'm pretty new to Ruby, but I just released a CloudStack ruby client:
https://rubygems.org/gems/cloudstack_ruby_client

Code is here: https://github.com/chipchilders/cloudstack_ruby_client

Comments and help welcome!

To install:
  gem install cloudstack_ruby_client


Basic usage (the creds are from my devcloud install):
  require 'cloudstack_ruby_client'
  URL = 'http://192.168.56.10:8080/client/api/'
  APIKEY = 'yy0sfCPpyKnvREhgpeIWzXORIIvyteq_iCgFpKXnqpdbnHuoYiK78nprSggG4hcx-hxwW897nU-XvGB0Tq8YFw'
  SECKEY = 'Pse4fqYNnr1xvoRXlAe8NQKCSXeK_VGdwUxUzyLEPVQ7B3cI1Q7B8jmZ42FQpz2jIICFax1foIzg2716lJFZVw'
  client = CloudstackRubyClient::Client.new(URL, APIKEY, SECKEY, false)
  puts client.listNetworkOfferings()

Mime
View raw message