Rvine
A simple Ruby wrapper for the unofficial and undocumented Vine API.
Please pull-request.
Installation
Add this line to your application's Gemfile:
gem 'rvine'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rvine
Usage
Get popular timeline
Rvine.popular_timeline
Get tag's items
Rvine.tags 'ruby'
Get a specified user's profile
user_id = '1234567890abcdefg'
Rvine.profile user_id
Authenticated requests
Login with "username & password" or "key"
rvine = Rvine.new url_name: 'kyuden', password: 'mysecret'
# or
rvine = Rvine.new key: 'authtoken'
Get my data
rvine.me
more
Read code.
ToDo
All support this
Contributing
- Fork it ( https://github.com/[my-github-username]/rvine/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