= Adobe Share API for Ruby

a Ruby library for "Adobe Share" using REST Web Service APIs.

* http://labs.adobe.com/technologies/share/
* http://labs.adobe.com/wiki/index.php/Share:API

== Example

=== Create client class

client = AdobeShare::Client.new

if you want to access via proxy,
add proxy param. client = Adobe::Client.new("http://your.proxy.server:8080/")

=== Set credentials

client.apikey = Your API Key
client.secret = Your Shared Secret
client.username = Your Adobe ID
client.password = Your Adobe ID password

=== Login

client.login

=== Access your Adobe Share Documents

==== Upload

client.add_file(binary_obj, "test.pdf", "This is a Test File")

==== Download

binary_obj = client.get_source(nodeid)

==== Delete

client.delete_node(nodeid)


=== Logout
client.logout

# `nodeid` is the same as `docid` in the Flash web interface.
# `nodeid` indicates both the documents and the folders. Maybe.

For details, please see examples/sample.rb

== TODO

* Test::Unit or RSpec ???

== Requirements

* httpclient
* rubygems

== Installation

* gem install adobeshare

== Author

* KATO Hideyuki <hkato at rubyforge.org>