A plug-in which harnesses the Dribbble API to allow you to pull recent shots for any given player into your page templates and caches the results locally to negate excessive API calls.
If you’re looking for a Dribbble plug-in for ExpressionEngine 2 check out Dreebbble by Olivier Bon.
Plug-in License - Free for personal and commercial use.
At present the Dribbble plug-in has one tag pair called ‘{exp:dribbble:player_shots}’.
Parameters:
player_username= (required) the username of the player you want to display shots for.
per_page= the number of shots to return from the API.
refresh= the number of minutes to cache the results of the API call for.
Single variables:
{id} The id of the shot.
{title} The title of the shot.
{url} The URL of the shot detail page on Dribbble.
{image_url} The image URL of the shot on Dribbble (400×300).
{image_teaser_url} The teaser image URL of the shot on Dribbble (200×150).
{width} The width of the image (eg: 400).
{height} The height of the image (eg: 300).
{views_count} The number of views this shot has received (eg: 1693).
{likes_count} The number of likes this shot has received (eg: 15).
{comments_count} The number of comments this shot has received (eg: 4).
{rebounds_count} The number of rebounds this shot has received (eg: 0).
{created_at} The date and time at which the shot was posted (eg: 2010/05/21 16:34:42 -0400)
Example usage:
{exp:dribbble:player_shots player_username="nathanpitman" per_page="3"}
{shots}
<a href="{url}" title="{title}" class="item_{count}"><img src="{image_teaser_url} or {image_url}" id="{id}"></a>
{/shots}
{/exp:dribbble:player_shots}
0.3 – Added support for view_count, likes_count, comments_count and rebounds_count.
0.2 – Added caching.
0.1 – Initial release.
We can't make any guarantees regarding response times but we'll do our best to help you out if you get stuck.