Project

vinery

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
A Ruby interface for Vine.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
= 0.9.0
>= 0

Runtime

= 0.12.0
 Project Readme

Vinery

A Ruby interface for Vine.


NOTE: Vinery currently only has one API method at the moment: tagged. This interface is very incomplete right now, so please contribute!


Installation

Add this line to your application's Gemfile:

gem 'vinery'

And then execute:

$ bundle

Or install it yourself as:

$ gem install vinery

Usage

Vine's API requires all requests to be authenticated (via a session cookie) with a valid Vine username and password. Vinery will authenticate you upon initialization.

To begin, require Vinery in your ruby script and then create a new instance of Vinery::API by passing your Vine username and password as parameters.

require 'vinery'
vinery = Vinery::API.new(vine_username,vine_password)

If Vine rejects your credentials, Vinery will raise InvalidCredentialsError. If no errors occur, then you have successfully authenticated with Vine and you're ready to go!

To learn more about how to work with Vinery::API, browse the source code.

Disclaimer

I am not employed by Vine.co, nor have they blessed this project.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request