Skip to content

Latest commit

 

History

History
66 lines (52 loc) · 1.35 KB

README.md

File metadata and controls

66 lines (52 loc) · 1.35 KB

Information

vine_logo

viner

Wrapper to access the unofficial Vine API.

Vine is currently available for iOS and Android devices. You can download Vine for iOS in the Apple App Store, and Vine for Android in the Google Play Store. After installing Vine on your device, you can sign up using an email address or sign in with your Twitter account.

An account is needed for all calls to the API.

https://viner.herokuapp.com/

Requirements

Ruby >= 2.0

Getting started

gem install viner

Start new client

@client = Viner::Client.new

Login

@client.login("username", "password")

Logout

@client.logout

Popular Vines

@client.popular

Vines by any tag

@client.tag("cats")

Profiles

Your profile

@client.profile

Find profile

@client.profile(user_id)

Posts

@client.profile(post_id)

Notifications

@client.profile(user_id)

Running tests

To run all the tests you need to enter a valid user account username and password in spec_helper.rb