Find file
Fetching contributors…
Cannot retrieve contributors at this time
87 lines (44 sloc) 1.54 KB


ApiDone ruby client.


Add this line to your application's Gemfile:

gem 'apidone-client'

And then execute:

$ bundle

Or install it yourself as:

$ gem install apidone-client


Command line

$ gem install apidone-client

Create resource

$ apidone create art -d=artenlinea --data=foo:bar

List collection resources

$ apidone list art -d=artenlinea

Show resource

$ apidone show art -d=artenlinea --id=some_id

Update resource

$ apidone update art -d=artenlinea --id=some_id --data=foo:bar_updated

Delete resource

$ apidone delete art -d=artenlinea --id=some_id

Command help

$ apidone help [create, edit, update, list, show ]

Usage in ruby scripts

require "apidone-client"

Init connection:

@conn ="dojoruby")

Create a resource:


List resources


Edit , delete & show resources:

@c.update("lenjuages", "someid", {:name=>"ruby", :versions=>["1.8.7", "Ree", "rbx"]})

@c.delete("lenjuages", "someid")"lenjuages", "someid")


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request


Apidone::Client is released under the MIT license.