axp-dev / dribbble-api
针对 dribbble 的简单 PHP 库
1.6.0
2017-08-13 08:27 UTC
Requires
- php: >=5.6.4
- guzzlehttp/guzzle: ^6.3
This package is auto-updated.
Last update: 2024-09-22 20:51:25 UTC
README
简单的针对 dribbble API 的 PHP 库
内容
开始
Composer
$ composer require axp-dev/dribbble-api
初始化
$token = '...'; $client = new DribbbleApi($token);
用法
获取一个桶
public function getBuckets($id) : array
列出桶的 shots
public function getBucketsShots($id) : array
获取一个项目
public function getProjects($id) : array
列出项目的 shots
public function getProjectsShots($id) : array
获取一个 shot
public function getShot($id) : array
列出 shots
public function getShots($params = []) : array
列出 shots 的附件
public function getShotsAttachments($id) : array
列出 shots 的桶
public function getShotsBuckets($id) : array
列出 shots 的评论
public function getShotsComments($id) : array
列出 shots 的点赞
public function getShotsLikes($id) : array
列出 shots 的项目
public function getShotsProjects($id) : array
列出 shots 的反弹
public function getShotsRebounds($id) : array
列出团队成员
public function getTeamsMembers($id) : array
列出团队的 shots
public function getTeamsShots($id) : array
获取单个用户
public function getUsers($id) : array
列出用户的桶
public function getUsersBuckets($id) : array
列出用户的关注者
public function getUsersFollowers($id) : array
列出用户关注的用户
public function getUsersFollowing($id) : array
列出用户的 shot 点赞
public function getUsersLikes($id) : array
列出用户的项目
public function getUsersProjects($id) : array
列出用户的 shots
public function getUsersShots($id) : array
列出用户的团队
public function getUsersTeams($id) : array
显示工作
public function getJobs($id) : array
作者
Alexander Pushkarev,邮箱:axp-dev@yandex.com
许可
开源软件,使用 MIT 许可证