node package manager

vinelib

Vine

Disclaimer

This is not in any part official and should be used at your own risk. Given there is no public API for Vine this is liable to break at any time.

Installation

  npm install vinelib

Examples

Require the lib and put it to use:

var vine = require('vine')

Login

vine.login({
  username: 'USERNAME OR EMAIL ADDRESS'
  , password: 'PASSWORD'
}, function (res) {});

Get Users Data

vine.getUserData(function (res) {
    console.log('user', res)
})

Get Popular Vines

vine.getPopular(function (res) {
    console.log('popular', res)
})

Get Promoted Vines

vine.getPromoted(function (res) {
    console.log('promoted', res)
})

Get User Notifications

vine.getNotifications(function (res) {
    console.log('notifications', res)
})

Get Users Timeline

vine.getTimeline(function (res) {
    console.log('timeline', res)
})

Get Vines By Tag

vine.getTag('github', function (res) {
    console.log('tags', res)
})

Search For a User

vine.userSearch('github', function (res) {
    console.log('usersearch', res)
})

Get A Users Likes

vine.userLikes({}, function (res) {
    console.log('like', res)
})

Get Users That A User Is Following

vine.userFollowing({}, function (res) {
    console.log('like', res)
})