Sha256: 6ba2bdb771f95e939e963f23af21b7452bd5c1ec4b801c2f89242a70c4c9a706

Contents?: true

Size: 1.49 KB

Versions: 2

Compression:

Stored size: 1.49 KB

Contents

# Basecamp3 API Wrapper

A simple Ruby Wrapper for the Basecamp3 API.

[For more information about Basecamp3 API, see the official documentation](https://github.com/basecamp/bc3-api)

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'basecamp3'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install basecamp3

## Basic usage

First, you have to establish a connection to Basecamp3. If you don't know how to get the access token, [see the official authentication guide](https://github.com/basecamp/api/blob/master/sections/authentication.md)

    Basecamp3.connect(YOUR_BASECAMP3_ACCOUNT_ID, YOUR_BASECAMP3_ACCESS_TOKEN)

That's all. You can make requests now. 

E.g.: to get the TODO, just call the `find` method from the `Basecamp3::Todo` class:

    todo = Basecamp3::Todo.find(BUCKET_ID, TODO_ID)
    todo.content # = 'Hello world!'

## Documentation

For the full documentation go [here](https://miastologia.github.io/basecamp3-api-wrapper/).

## TODO

### Missing models
* Attachments
* Chatbots
* Client approvals
* Client correspondences
* Client replies
* Events
* Recordings
* Templates
* Uploads
* Webhooks

### Other
* updating Basecamp data directly from a model instance (something like `save` method)

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/miastologia/basecamp3-api-wrapper.


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
basecamp3-0.1.4 README.md
basecamp3-0.1.3 README.md