Details ariok

Dribbble API


Bundle Registration

Add the following code to your application/bundles.php file:

'dribbble' => array('auto'  => true, 'handles' => 'dribbble'),

Usage

Static

You can access every Dribbble API service by static calls:

Dribbble::shots("jumpzero");

With Pagination

Dribbble:shots("jumpzero",3,20) //Get shots by Jumpzero, starting from page 3 and displaying 20 results per page

By URL

Or by your website URL

http://yoursite.com/dribbble/shots/jumpzero

With Pagination

http://yoursite.com/dribbble/shots/jumpzero/3/20

You can block direct-URL-call by deleting the routing rule in
bundles/dribbble/routes.php file.


Methods list

For more information about the methods you can check the Official Dribbble API Documentation

/shots/:id

Dribbble::shots(:id);

/shots/:id/rebounds

Dribbble::rebounds(:id);

/shots/:id/comments

Dribbble::comments(:id);

/shots/:list

Dribbble::shotsList("popular" or "everyone" or "debuts");

/players/:id/shots

Dribbble::playersShots(:id);

/players/:id/shots/following

Dribbble::playersShotsFollowing(:id);

/players/:id/shots/likes

Dribbble::playersShotsLikes(:id);

/players/:id

Dribbble::players(:id);

/players/:id/followers

Dribbble::playersFollowers(:id);

/players/:id/following

Dribbble::playersFollowing(:id);

/players/:id/draftees

Dribbble::playersDraftees(:id);

Installation

You can install this bundle by running the following CLI command:

php artisan bundle:install dribbble

Alternatively you can download it directly from GitHub:
http://github.com/ariok/Laravel-Dribbble

Stats

  • Watchers:
  • Forks:
  • Ratings: 0 likes
  • Installs: 618