Boxr
PLEASE NOTE: I need to complete this README with much more detailed instructions. However, feel free to try it out. The integration test suite is achieving 95% code coverage. Thanks!
Installation
Add this line to your application's Gemfile:
gem 'boxr'
And then execute:
$ bundle
Or install it yourself as:
$ gem install boxr
Usage
Super-fast instructions for now (much more to come):
- go to https://developers.box.com
- find or create your Box Content API app for testing
- click 'Edit Application'
- check the boxes for 'Read and write all files and folders' and 'Manage an enterprise'
- click 'Create a developer token'
- copy the token and use it in the code below in place of BOX_DEVELOPER_TOKEN
require 'boxr'
client = Boxr::Client.new({BOX_DEVELOPER_TOKEN})
items = client.folder_items(Boxr::ROOT)
items.each {|i| puts i.name}
Contributing
- Fork it ( https://github.com/cburnette/boxr/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request