Project

redvine

0.02
No commit activity in last 3 years
No release in over 3 years
A client for the unofficial Vine API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Redvine

RIP Vine tho: this is a relic of the past

A simple Ruby wrapper for the totally unofficial and undocumented Vine API. Everyone loves Vine these days, and this pretty much sums up why.

Very heavily inspired by Vino, and made possible by the super sleuthing documented on khakimov.com.

It pretty much goes without saying that this wasn't authorized by Vine or anyone who works at Vine, so don't blame me if you try to use it and Vine gets mad at you.

Thanks also to @kdonovan and @ruthgsp for adding and improving.

Installation

gem install redvine

Usage

require 'rubygems'
require 'redvine'

client = Redvine.new

# Connect to Vine with an email and password
client.connect(email: 'your@email.com', password: 'your_vine_password')

# Get your own timeline
client.timeline

# Find videos by tag
client.search('cats')
client.search('cats', :page => 2)

# Find user profiles by user ID 
client.user_profile('908082141764657152')

# Get liked Vines by a user's ID
client.user_likes('908082141764657152')

# Get a user's timeline by their user ID
client.user_timeline('908082141764657152')
client.user_timeline('908082141764657152', :page => 2)

# Get a user's followers/following by their user ID
client.followers('908082141764657152')
client.following('908082141764657152', :page => 2)

# Get popular and promoted videos
client.popular
client.popular(:page => 2)
client.promoted
client.promoted(:page => 2)

# Get a single video by the post ID
client.single_post('1015405623653113856')

Things To Do

  • Twitter authentication
  • Make it easier to access attributes of common objects (videos and users)
  • Include all of the discovered API endpoints