php artisan bundle:install dribbble
Create the folder "dribbble" in your "bundles" and paste files from this Github repository:
https://github.com/ariok/Laravel-Dribbble
Add the following code to your application/bundles.php file:
'dribbble' => array('auto' => true, 'handles' => 'dribbble'),
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
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.
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);