{"id":13744808,"url":"https://github.com/sangupta/as3dribbble","last_synced_at":"2026-02-26T20:09:44.241Z","repository":{"id":141346601,"uuid":"4123171","full_name":"sangupta/as3dribbble","owner":"sangupta","description":"Dribbble client library for ActionScript","archived":false,"fork":false,"pushed_at":"2012-04-27T08:25:36.000Z","size":116,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-04T17:11:44.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sangupta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-24T09:45:32.000Z","updated_at":"2014-04-28T22:56:14.000Z","dependencies_parsed_at":"2023-03-13T10:34:06.057Z","dependency_job_id":null,"html_url":"https://github.com/sangupta/as3dribbble","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sangupta/as3dribbble","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangupta%2Fas3dribbble","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangupta%2Fas3dribbble/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangupta%2Fas3dribbble/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangupta%2Fas3dribbble/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sangupta","download_url":"https://codeload.github.com/sangupta/as3dribbble/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangupta%2Fas3dribbble/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283921118,"owners_count":26916743,"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","status":"online","status_checked_at":"2025-11-11T02:00:06.610Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-08-03T05:01:16.465Z","updated_at":"2025-11-11T20:03:52.616Z","avatar_url":"https://github.com/sangupta.png","language":"ActionScript","funding_links":[],"categories":["API"],"sub_categories":["Other API"],"readme":"as3dribbble\n===========\n\nas3dribbble is a strongly typed ActionScript client library for accessing http://dribbble.com API. \nThe library provides support for rate limiting requests.\n\nThe library also exposes a convenience class called `DribbbleInvoker` that may be used to add more \nAPIs (should they get added in future and this library looses track). The invoker is rate-limit safe.\n\nUsage\n-----\n\nA simple example to use is as under,\n\n```actionscript\nprivate function getShotDetails():void {\n\tvar client:DribbbleClient = new DribbbleClient();\n\t\n\t// the requestID can then be used to check which request failed\n\tvar requestID:uint = client.getShot(12, showShot, errorHandler);\n}\n\nprivate function showShot(shot:Shot):void {\n\ttrace('received shot details: ' + shot);\n}\n\nprivate function errorHandler(id:uint):void {\n\t// error occured when fetching shot details\n}\n```\n\nPagination Support\n------------------\n\nAll API methods that support pagination have a corresponding, pagination-aware method available as well. For example,\nwhen fetching comments for a shot you may do,\n\n```actionscript\nvar client:DribbbleClient = new DribbbleClient();\n\nprivate function getShotComments():void {\n\tvar requestID:uint = client.getShotComments(123, showComments, errorHandler);\n}\n\nprivate function showComments(list:CommentList):void {\n\t// do something with these comments\n\n\tvar requestID:uint;\n\t \n\t// check for more comments\n\tif(list.getPage() \u003c list.getPages()) {\n\t\t// fetch results from page 2\n\t\trequestID = client.getShotComments(1, showComments, errorHandler, 2);\n\t\n\t\t// or, may provide the number of results to fetch as well\n\t\t// fetch results from page 2, with 15 results per page\n\t\trequestID = getShotComments(1, showComments, errorHandler, 2, 15);\n\t}\n}\n```\n\nThe current default for number of results per page is 15 per Dribbble API. Refer http://dribbble.com/api for more\ndetails.\n\nRate-Limiting and Exceptions\n----------------------------\n\nBy default, the `DribbbleClient` will throw a `DribbbleApiRateLimitException` run-time error when the\nrequest rate goes over the board. This makes sure that your client does not need to catch unnecessary exceptions\nduring invocation. \n\nIn case you wish, you may catch this exception and delay the request to a future time as,\n\n```actionscript\nprivate function getShot():void {\n\tvar shot:Shot = null;\n\tvar shotID:uint = 1;\n\n\ttry {\n\t\tvar requestID:uint = client.getShot(shotID, showShot, errorHandler);\n\t} catch(e:DribbbleApiRateLimitException) {\n\t\t// wait for a minute\n\t\tsetTimeOut(getShot, 1000 * 60); // call again after a minute\n\t}\n}\n```\n\nIf you wish to prevent the code from throwing the `DribbbleApiRateLimitException` exception, you can do so when\ncreating the client.\n\n```actionscript\n\nvar client:DribbbleClient = new DribbbleClient(false);\n```\n\nAny invocations on this client, will not throw the error, but return a `null` back as the result to the completion\nhandler you specified.\n\nDependencies\n------------\n\nThe library does not depend on any third-party libraries and is self-contained. \n\nThe library has been compiled and tested using Adobe Flex 4.6/Adobe AIR 3.0.\n\nVersioning\n----------\n\nFor transparency and insight into our release cycle, and for striving to maintain backward compatibility, \nas3dribbble will be maintained under the Semantic Versioning guidelines as much as possible.\n\nReleases will be numbered with the follow format:\n\n`\u003cmajor\u003e.\u003cminor\u003e.\u003cpatch\u003e`\n\nAnd constructed with the following guidelines:\n\n* Breaking backward compatibility bumps the major\n* New additions without breaking backward compatibility bumps the minor\n* Bug fixes and misc changes bump the patch\n\nFor more information on SemVer, please visit http://semver.org/.\n\nLicense\n-------\n\t\nCopyright (c) 2012, Sandeep Gupta\n\nThe project uses various other libraries that are subject to their\nown license terms. See the distribution libraries or the project\ndocumentation for more details.\n\nThe entire source is licensed under the Apache License, Version 2.0 \n(the \"License\"); you may not use this work except in compliance with\nthe LICENSE. You may obtain a copy of the License at\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsangupta%2Fas3dribbble","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsangupta%2Fas3dribbble","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsangupta%2Fas3dribbble/lists"}