putio-ruby
putio-ruby is a simple gem for communicating with the Put.io REST API. Currently supports just a handful of endpoints for Files and Transfers.
Installation
Add the gem to your Gemfile:
gem 'putio-ruby'
And then
$ bundle install
Or install it yourself as:
$ gem install putio-ruby
Usage
First configure the gem to use your oauth token (See instructions for generating a token)
Putio.configure :oauth_token => YOUR_OAUTH_TOKEN
Then use it to query Put.io
Putio::File.list
Putio::File.get(1234)
Putio::File.get(1234).delete
Putio::File.get(1234).download_url
Putio::Transfer.list
Putio::Transfer.get(1234)
Putio::Transfer.add("http://some_url.com")