Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
api done client made in ruby (coding) dojo
Ruby
tag: v0.0.1

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
spec
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
apidone-client.gemspec

README.md

Apidone::Client

ApiDone ruby client.

Installation

Add this line to your application's Gemfile:

gem 'apidone-client'

And then execute:

$ bundle

Or install it yourself as:

$ gem install apidone-client

Usage

Usage in scripts

init connection:

@conn = Apidone::Client::Connection.new("dojoruby")

Create a resource:

@c.create("lenguajes")

List resources

@c.list("lenguajes")

Edit , delete & show resources:

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

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

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

Command line

create

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

list

$ apidone list art -d=artenlinea

update

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

delete

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

delete

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

command help

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

Contributing

  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
Something went wrong with that request. Please try again.