{"id":17068969,"url":"https://github.com/kgn/spectttator","last_synced_at":"2025-10-27T22:35:28.485Z","repository":{"id":138801341,"uuid":"1959420","full_name":"kgn/Spectttator","owner":"kgn","description":"Spectttator is an Objective-C framework for OSX and iOS that makes it easy to asynchronously interact with the dribbble api.","archived":false,"fork":false,"pushed_at":"2013-10-18T17:25:40.000Z","size":1601,"stargazers_count":86,"open_issues_count":3,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T18:42:33.389Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://dribbble.com/api","language":"Objective-C","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/kgn.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":"2011-06-27T09:39:38.000Z","updated_at":"2020-04-24T12:52:37.000Z","dependencies_parsed_at":"2023-04-11T04:36:38.334Z","dependency_job_id":null,"html_url":"https://github.com/kgn/Spectttator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kgn/Spectttator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kgn%2FSpectttator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kgn%2FSpectttator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kgn%2FSpectttator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kgn%2FSpectttator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kgn","download_url":"https://codeload.github.com/kgn/Spectttator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kgn%2FSpectttator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281355371,"owners_count":26486897,"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-10-27T02:00:05.855Z","response_time":61,"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-10-14T11:15:44.848Z","updated_at":"2025-10-27T22:35:28.440Z","avatar_url":"https://github.com/kgn.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Spectttator\n========\n\nSpectttator is an Objective-C framework for OSX and iOS that uses\n[blocks](http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Blocks/Articles/00_Introduction.html)\nto provide an easy to use asynchronous interface to the [Dribbble api](http://dribbble.com/api).\n\nThis framework has been heavily veted by the Mac App [Play by Play](http://playbyplayapp.com).\n\nBelow is a quick overview of the framework, to get an in depth look check out the [documentation](http://kgn.github.com/Spectttator).\n\nSpectttator requires either\n[iOS 4.0](http://developer.apple.com/library/ios/#releasenotes/General/WhatsNewIniPhoneOS/Articles/iPhoneOS4.html%23//apple_ref/doc/uid/TP40009559-SW1)\nand above, or [OSX 10.6](http://developer.apple.com/library/mac/#releasenotes/MacOSX/WhatsNewInOSX/Articles/MacOSX10_6.html#//apple_ref/doc/uid/TP40008898-SW7)\nand above.\n\nHow To\n--------\n\nSpectttator uses [AFNetworking](https://github.com/AFNetworking/AFNetworking) \nand [JSONKit](https://github.com/johnezang/JSONKit).\nThese libraries are included as submodules, so make sure to clone the repo with the `--recursive` flag.\n\n    git clone --recursive https://github.com/kgn/Spectttator.git\n\nExample\n--------\n\nThe following snippet demonstrates how to get the last 10 shots a player liked.\n\n``` obj-c\n#import \u003cSpectttator/Spectttator.h\u003e\nNSString *username = @\"kgn\";\n[SPRequest shotsForPlayerLikes:username\n                withPagination:[SPPagination perPage:10]\n               runOnMainThread:NO\n                     withBlock:^(NSArray *shots, SPPagination *pagination){\n                         NSLog(@\"Shot %@ likes: %@\", username, shots);\n                     }];\n```\n\nThis is non-blocking, `NSLog` will run whenever the comment data has finished loading, but the block still has access\nto everything in the scope from where it was defined. If the block is updating UI elements make sure to set\n`runOnMainThread:YES`, the Dribbble requests will still be asynchronous but the passed in block will be executed on the main thread.\n\nSpectttatorTest\n--------\n\nSpectttatorTest is a sample application that demonstrates how to use Spectttator to create a non-blocking user\ninterface that displays information from Dribbble. It also runs every method, this was used during testing and\ndevelopment and is a great way to see how to use Spectttator.\n\nCheck out [this video](http://vimeo.com/25704164) to see SpectttatorTest in action.\n\n![SpectttatorTest](https://github.com/kgn/Spectttator/raw/master/SpectttatorTest/SpectttatorTest.png)\n\nSpectttatorTest-iOS\n--------\n\nSpectttatorTest-iOS is a simple iPhone app that demonstrates how to use Spectttator in iOS.\n\n![SpectttatorTest](https://github.com/kgn/Spectttator/raw/master/SpectttatorTest-iOS/SpectttatorTest-iOS.png)\n\nChange Log\n--------\n\n* **0.3.1** - Switching to use [AFNetworking](https://github.com/AFNetworking/AFNetworking) and [JSONKit](https://github.com/johnezang/JSONKit), no public API change.\n* **0.3.0** - Renaming SPManager to SPRequest. SPRequest is no longer a singleton and all it's methods are now simply class methods.\n* **0.2.1** - Switching to 64bit, this caused no interface changes.\n* **0.2.0** - Overhaul of all the methods by adding runOnMainThread to make it easy to update UI elements inside the block on the main thread.\n* **0.1.0** - Initial release with support for the full Dribbble api.\n\nLicense\n--------\n\nCopyright (c) 2011 David Keegan\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"),\nto deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,\nand/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\nIN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkgn%2Fspectttator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkgn%2Fspectttator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkgn%2Fspectttator/lists"}