{"id":18369990,"url":"https://github.com/statamic/plugin-dribbble","last_synced_at":"2025-04-06T18:32:45.136Z","repository":{"id":3085005,"uuid":"4109112","full_name":"statamic/Plugin-Dribbble","owner":"statamic","description":"Statamic Dribbble plugin to fetch and display content from Dribbble's API, including players, shots, and lists.","archived":false,"fork":false,"pushed_at":"2016-04-27T13:55:57.000Z","size":4,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-22T04:41:26.350Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://statamic.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/statamic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-23T02:53:12.000Z","updated_at":"2024-08-02T02:18:29.000Z","dependencies_parsed_at":"2022-07-21T11:04:59.209Z","dependency_job_id":null,"html_url":"https://github.com/statamic/Plugin-Dribbble","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statamic%2FPlugin-Dribbble","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statamic%2FPlugin-Dribbble/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statamic%2FPlugin-Dribbble/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statamic%2FPlugin-Dribbble/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/statamic","download_url":"https://codeload.github.com/statamic/Plugin-Dribbble/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247531425,"owners_count":20953961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T23:34:58.334Z","updated_at":"2025-04-06T18:32:44.205Z","avatar_url":"https://github.com/statamic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Statamic Dribbble Plugin ![Statamic v1](https://img.shields.io/badge/statamic-v1-lightgrey.svg?style=flat-square)\n================================\n\nThe Dribbble plugin is used for fetching and displaying information from Dribbble's API, including players, shots, and lists.\n\n## Installing\n1. Download the zip file (or clone via git) and unzip it or clone the repo into `/_add-ons/`.\n2. Ensure the folder name is `dribbble` (Github timestamps the download folder).\n3. Enjoy.\n\n## Tag Pair: *Player*\n\n**Example Tag:**\n\n    {{ dribbble:players player=\"jackmcdade\" }}\n      \u003ch1\u003e\u003ca href=\"{{ url }}\"\u003e{{ name }}\u003c/a\u003e\u003c/h1\u003e\n      \u003cdiv class=\"avatar\"\u003e\u003cimg src=\"{{ avatar_url }}\"\u003e\u003c/div\u003e\n      \u003cul\u003e\n        \u003cli\u003eShots taken: {{ shots_count }}\u003c/li\u003e\n        \u003cli\u003eFollowers: {{ followers_count }}\u003c/li\u003e\n        \u003cli\u003eFollowing: {{ following_count }}\u003c/li\u003e\n        \u003cli\u003eComments Received: {{ comments_received_count }}\u003c/li\u003e\n      \u003c/ul\u003e\n      \u003cdiv class=\"membership\"\u003eMember since {{ created_at format=\"Y-m-d\" }}\u003c/div\u003e\n    {{ /dribbble:players }}\n    \n### Parameters\n\n#### Player `player`\n\nUsername of the player you wish to request.\n\n    player=\"jackmcdade\"\n\n### Variables\n\nThe following single variables are available inside the `{{ dribbble:players }}` tag pair. This plugin will always return the full API request assigned as Statamic variables, so the [Dribbble API docs](http://dribbble.com/api#get_player) will always be the most up to date source of information.\n\n- `{{ id }}`\n- `{{ name }}`\n- `{{ username }}`\n- `{{ url }}`\n- `{{ avatar_url }}`\n- `{{ location }}`\n- `{{ twitter_screen_name }}`\n- `{{ drafted_by_player_id }}`\n- `{{ shots_count }}`\n- `{{ draftees_count }}`\n- `{{ followers_count }}`\n- `{{ following_count }}`\n- `{{ comments_count }}`\n- `{{ comments_received_count }}`\n- `{{ likes_count }}`\n- `{{ likes_received_count }}`\n- `{{ rebounds_count }}`\n- `{{ rebounds_received_count }}`\n- `{{ created_at }}`\n\n## Tag Pair: *:Shots*\n\n**Example Tag**\n\n    {{ dribbble:shots player=\"jackmcdade\" }}\n    \u003ch1\u003eShots by {{ player }}{{ name }}{{ /player }}\u003c/h1\u003e\n      {{ shots }}\n        \u003cdiv class=\"shot\"\u003e\n          \u003ch2\u003e\u003ca href=\"{{ url }}\"\u003e{{ title }}\u003c/a\u003e\u003c/h2\u003e\n          \u003ca href=\"{{ short_url}}\"\u003e\u003cimg src=\"{{ image_url }}\" title=\"{{ title }}\" /\u003e\u003c/a\u003e\n          \u003cul class=\"stats\"\u003e\n            \u003cli\u003eViews: {{ views_count }}\u003c/li\u003e\n            \u003cli\u003eLikes: {{ likes_count }}\u003c/li\u003e\n            \u003cli\u003eComments: {{ comments_count }}\u003c/li\u003e\n            \u003cli\u003eDribbbbbbbbbled on {{ created_at format=\"Y-m-d\" }}\u003c/li\u003e\n          \u003c/ul\u003e\n        \u003c/div\u003e\n      {{ /shots }}\n    {{ /dribbble:shots }}\n\n### Parameters\n\n#### Player `player`\n\nUsername of the player you wish to request.\n\n    player=\"jackmcdade\"\n\n#### Limit `limit`\n**Default:** 5\n\nLimit the number of shots returned.\n\n### Variables \u0026 Variable Pairs\n\nThis tag returns a lot of goodness. This plugin will always return the full API request assigned as Statamic variables, so the [Dribbble API docs](http://dribbble.com/api#get_player_shots) will always be the most up to date source of information.\n\n*Note that this is an implementation of the `GET /players:id/shots` endpoint, and not `GET /shots/:id`, as you might assume by looking at the API docs*\n\n#### Variable Pair: *:Player*\n\n{{ player }} {{ /player }}\n\nSame as the [`{{ dribbble:player }}`](#tag-pair-player) tag pair, but inside this particular request.\n\n#### Variable Pair: *:Shots*\n\n    {{ shots }} {{ /shots }}\n\n- {{ id }}\n- {{ title }}\n- {{ url }}\n- {{ short_url }}\n- {{ image_url }}\n- {{ image_teaser_url }}\n- {{ width }}\n- {{ height }}\n- {{ views_count }}\n- {{ likes_count }}\n- {{ comments_count }}\n- {{ rebounds_count }}\n- {{ rebound_source_id }}\n- {{ created_at }}\n\n## Tag Pair *List*\n\nThis tag is exactly like [`{{ dribbble:shots }}`](#tag-pair-shots), except it lets you fetch from a list (such as *debuts* or *everyone*) instead of a player.\n\n    {{ dribbble:list list=\"popular\" }} {{ /dribbble:list }}\n\n\n### Parameters\n\n#### List `list`\n\n*Default:* everyone\n\n*Available Options:*\n- everyone\n- debut\n- popular\n\nThe Dribbble list you wish you request shots from. \n\n    player=\"jackmcdade\"\n\n#### Limit `limit`\n**Default:** 5\n\nLimit the number of shots returned.\n\n## Tag Pair: *API*\n\nThis is a complete freestyle tag pair. Format and request your own endpoint, receive all the data as Statamic variables. You'll want to use the [Dribbble API](http://dribbble.com/api) for this. Just one parameter: `request`.\n\n    {{ dribbble:api request=\"your/request/here\" }} {{ /dribbble:api }}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatamic%2Fplugin-dribbble","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstatamic%2Fplugin-dribbble","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatamic%2Fplugin-dribbble/lists"}