twitter/vine

此包最新版本(0.0.4)没有可用的许可证信息。

为非官方Vine API编写的PHP客户端

0.0.4 2015-08-25 11:46 UTC

This package is auto-updated.

Last update: 2024-08-29 03:47:35 UTC


README

PHP Vine API客户端

Build Status Latest Stable Version Code Coverage Version

使用方法

创建Client的新实例

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

然后使用get方法调用其中一个get资源,例如:

//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();

您可以在这里查看API文档:[Vine API参考](Vine API Reference)