Skip to content

ariok/Laravel-Dribbble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Laravel-Dribbble

Laravel Bundle: Dribbble API Wrapper

Installation

Artisan

php artisan bundle:install dribbble

Manually

Create the folder "dribbble" in your "bundles" and paste files from this Github repository:

https://github.com/ariok/Laravel-Dribbble

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.

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

About

Laravel Bundle: Dribbble API Wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages