Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 905 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 905 Bytes

twitter-vine

Build Status Dependency Status Gem Version

A ruby based API to get information about Vines and allow searching.

Installation

gem install twitter-vine

Usage

  # Simplest use case - give the link of a Vine
  parts = TwitterVine.parse("https://vine.co/v/b2BPEL0Orbm")
  
TwitterVine::Client.setup do |config|
  config.api_key        = "YOUR_API_KEY"
  config.api_secret     = "YOUR_API_SECRET"
  config.oauth_token    = "YOUR_OAUTH_TOKEN"
  config.oauth_secret   = "YOUR_OAUTH_SECRET"
end
vines = TwitterVine::Client.search("Prank")