twitter/vine

There is no license information available for the latest version (0.0.4) of this package.

A PHP client written for the unofficial Vine API

0.0.4 2015-08-25 11:46 UTC

This package is auto-updated.

Last update: 2024-10-29 04:10:25 UTC


README

A PHP Vine API client

Build Status Latest Stable Version Code Coverage Version

Usage:

Create a new instance of the Client:

$vine = new \Api\Vine\Client();

Then use the get method to call one of the get resources, e.g.

//Searches, just give the get the resource and it will respond with the results in stdObj format
$searchResults = $vine->get('timelines/tag/{{searchQuery}}');

//Creates a vine session
$login = $vine
            ->setUsername('bananana')
            ->setPassword('LOL_SONY')
            ->login();
            
//Deletes the login
$logout = $vine->logout();

You can see the API documentation here: [https://github.com/starlock/vino/wiki/API-Reference](Vine API Reference)