{"action":"created","comment":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments/33698115","id":33698115,"diff_hunk":"@@ -0,0 +1,47 @@\n+package DDG::Spice::Icon;\n+# ABSTRACT: Find icons for the given term\n+\n+use DDG::Spice;\n+\n+spice is_cached => 1;\n+\n+name \"Icon\";\n+source \"IconFinder\";\n+icon_url \"https://api.iconfinder.com/favicon.ico\";\n+description \"Find icons for the given term\";\n+primary_example_queries \"female icon\", \"dog icons\";\n+secondary_example_queries \"free baby icons\", \"premium female icons\";\n+category \"reference\";\n+topics \"web_design\";\n+code_url \"https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Icon.pm\";\n+attribution github => [\"iambibhas\", \"Bibhas D\"],\n+            twitter => \"bibhasdn\";\n+\n+spice to => 'https://api.iconfinder.com/v2/icons/search?query=$1&style=&vector=all&premium=$2';\n+spice wrap_jsonp_callback => 1;\n+\n+spice from => '(.+)/(.+)';","path":"lib/DDG/Spice/Icon.pm","position":23,"original_position":23,"commit_id":"fb67d7327533274bc373a0a21e74c6089a6e3386","original_commit_id":"fb67d7327533274bc373a0a21e74c6089a6e3386","user":{"login":"jagtalon","id":81969,"avatar_url":"https://avatars.githubusercontent.com/u/81969?v=3","gravatar_id":"","url":"https://api.github.com/users/jagtalon","html_url":"https://github.com/jagtalon","followers_url":"https://api.github.com/users/jagtalon/followers","following_url":"https://api.github.com/users/jagtalon/following{/other_user}","gists_url":"https://api.github.com/users/jagtalon/gists{/gist_id}","starred_url":"https://api.github.com/users/jagtalon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagtalon/subscriptions","organizations_url":"https://api.github.com/users/jagtalon/orgs","repos_url":"https://api.github.com/users/jagtalon/repos","events_url":"https://api.github.com/users/jagtalon/events{/privacy}","received_events_url":"https://api.github.com/users/jagtalon/received_events","type":"User","site_admin":false},"body":"Can you change it to `(.+?)/(.+)` so that it's non greedy?","created_at":"2015-07-01T16:44:21Z","updated_at":"2015-07-01T16:44:21Z","html_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1982#discussion_r33698115","pull_request_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1982","_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments/33698115"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1982#discussion_r33698115"},"pull_request":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1982"}}},"pull_request":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1982","id":38929490,"html_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1982","diff_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1982.diff","patch_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1982.patch","issue_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/1982","number":1982,"state":"open","locked":false,"title":"Icon - find icons from IconFinder","user":{"login":"iambibhas","id":357253,"avatar_url":"https://avatars.githubusercontent.com/u/357253?v=3","gravatar_id":"","url":"https://api.github.com/users/iambibhas","html_url":"https://github.com/iambibhas","followers_url":"https://api.github.com/users/iambibhas/followers","following_url":"https://api.github.com/users/iambibhas/following{/other_user}","gists_url":"https://api.github.com/users/iambibhas/gists{/gist_id}","starred_url":"https://api.github.com/users/iambibhas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iambibhas/subscriptions","organizations_url":"https://api.github.com/users/iambibhas/orgs","repos_url":"https://api.github.com/users/iambibhas/repos","events_url":"https://api.github.com/users/iambibhas/events{/privacy}","received_events_url":"https://api.github.com/users/iambibhas/received_events","type":"User","site_admin":false},"body":"**What does your Instant Answer do?**\r\nFinds icons from iconfinder.com for queries like `human icon` or `free human icon`. It also detects if free/premium is mentioned and returns relevant results.\r\n\r\n**What problem does your Instant Answer solve (Why is it better than organic links)?**\r\nThere are hundreds and thousands on icons, free and premium, that developers/designers need on daily basis. Current way is to search for icon related websites, find them, search for required term, find icon, download/buy. This spice tries to bring the whole thing down to one/two steps.\r\n\r\n**What is the data source for your Instant Answer? (Provide a link if possible)**\r\n[iconfinder.com](http://iconfinder.com)\r\n\r\n**Why did you choose this data source?**\r\nThey have the best collection of icons.\r\n\r\n**Are there any other alternative (better) data sources?**\r\nI'm not aware of any.\r\n\r\n**What are some example queries that trigger this Instant Answer?**\r\n`cloud icons`, `cloud free icon` etc\r\n\r\n**Which communities will this Instant Answer be especially useful for? (gamers, book lovers, etc)**\r\nMost probably designers/developers/people who make presentations and maybe more.\r\n\r\n**Is this Instant Answer connected to a DuckDuckHack [Instant Answer idea](https://duck.co/ideas)?**\r\nYes. https://duck.co/ideas/idea/14/search-icons-via-iconfinder-iconfinder-com\r\n\r\n**Which existing Instant Answers will this one supersede/overlap with?**\r\nNone.\r\n\r\n**Are you having any problems? Do you need our help with anything?**\r\nNope.\r\n\r\n**What are the terms of use for the API? Will DuckDuckGo need specific authorization (e.g. an API key)? Are there any costs associated with API usage?**\r\nNone. IconFinder's search API is public.\r\n\r\n**What does the Instant Answer look like? (Provide a screenshot for new or updated Instant Answers)**\r\n![selection_059](https://cloud.githubusercontent.com/assets/357253/8459953/4457be6a-203e-11e5-8317-a18629ce9e8c.jpg)\r\n![selection_060](https://cloud.githubusercontent.com/assets/357253/8459952/444f9d48-203e-11e5-9dc2-bba0425db949.jpg)\r\n\r\n\r\n## Checklist\r\nPlease place an 'X' where appropriate.\r\n\r\n```\r\n[X] Added metadata and attribution information\r\n[X] Wrote test file and added to t/ directory\r\n[X] Verified that instant answer adheres to design guidelines (https://duck.co/duckduckhack/design_styleguide)\r\n[X] Verified that instant answer adheres to code styleguide (https://duck.co/duckduckhack/code_styleguide)\r\n[X] Tested cross-browser compatibility\r\n\r\n    Please let us know which browsers/devices you've tested on:\r\n    - Ubuntu\r\n        [X] Google Chrome\r\n        [X] Firefox\r\n        [] Opera\r\n        [] IE 10\r\n\r\n    - Android\r\n        [X] Firefox\r\n        [X] Native Browser\r\n        [X] Google Chrome\r\n        [] Opera\r\n```","created_at":"2015-06-30T22:03:00Z","updated_at":"2015-07-01T16:44:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"180c9edf8fa942faf3e43d3081bb39c1a5c1e260","assignee":{"login":"jagtalon","id":81969,"avatar_url":"https://avatars.githubusercontent.com/u/81969?v=3","gravatar_id":"","url":"https://api.github.com/users/jagtalon","html_url":"https://github.com/jagtalon","followers_url":"https://api.github.com/users/jagtalon/followers","following_url":"https://api.github.com/users/jagtalon/following{/other_user}","gists_url":"https://api.github.com/users/jagtalon/gists{/gist_id}","starred_url":"https://api.github.com/users/jagtalon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagtalon/subscriptions","organizations_url":"https://api.github.com/users/jagtalon/orgs","repos_url":"https://api.github.com/users/jagtalon/repos","events_url":"https://api.github.com/users/jagtalon/events{/privacy}","received_events_url":"https://api.github.com/users/jagtalon/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1982/commits","review_comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1982/comments","review_comment_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/1982/comments","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/statuses/fb67d7327533274bc373a0a21e74c6089a6e3386","head":{"label":"iambibhas:spice_icon","ref":"spice_icon","sha":"fb67d7327533274bc373a0a21e74c6089a6e3386","user":{"login":"iambibhas","id":357253,"avatar_url":"https://avatars.githubusercontent.com/u/357253?v=3","gravatar_id":"","url":"https://api.github.com/users/iambibhas","html_url":"https://github.com/iambibhas","followers_url":"https://api.github.com/users/iambibhas/followers","following_url":"https://api.github.com/users/iambibhas/following{/other_user}","gists_url":"https://api.github.com/users/iambibhas/gists{/gist_id}","starred_url":"https://api.github.com/users/iambibhas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iambibhas/subscriptions","organizations_url":"https://api.github.com/users/iambibhas/orgs","repos_url":"https://api.github.com/users/iambibhas/repos","events_url":"https://api.github.com/users/iambibhas/events{/privacy}","received_events_url":"https://api.github.com/users/iambibhas/received_events","type":"User","site_admin":false},"repo":{"id":31980001,"name":"zeroclickinfo-spice","full_name":"iambibhas/zeroclickinfo-spice","owner":{"login":"iambibhas","id":357253,"avatar_url":"https://avatars.githubusercontent.com/u/357253?v=3","gravatar_id":"","url":"https://api.github.com/users/iambibhas","html_url":"https://github.com/iambibhas","followers_url":"https://api.github.com/users/iambibhas/followers","following_url":"https://api.github.com/users/iambibhas/following{/other_user}","gists_url":"https://api.github.com/users/iambibhas/gists{/gist_id}","starred_url":"https://api.github.com/users/iambibhas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iambibhas/subscriptions","organizations_url":"https://api.github.com/users/iambibhas/orgs","repos_url":"https://api.github.com/users/iambibhas/repos","events_url":"https://api.github.com/users/iambibhas/events{/privacy}","received_events_url":"https://api.github.com/users/iambibhas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iambibhas/zeroclickinfo-spice","description":"DuckDuckGo instant answer plugins based on JavaScript APIs","fork":true,"url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice","forks_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/forks","keys_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/teams","hooks_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/hooks","issue_events_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/issues/events{/number}","events_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/events","assignees_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/assignees{/user}","branches_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/branches{/branch}","tags_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/tags","blobs_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/git/refs{/sha}","trees_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/statuses/{sha}","languages_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/languages","stargazers_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/stargazers","contributors_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/contributors","subscribers_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/subscribers","subscription_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/subscription","commits_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/commits{/sha}","git_commits_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/git/commits{/sha}","comments_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/comments{/number}","issue_comment_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/issues/comments{/number}","contents_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/contents/{+path}","compare_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/merges","archive_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/downloads","issues_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/issues{/number}","pulls_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/pulls{/number}","milestones_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/milestones{/number}","notifications_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/labels{/name}","releases_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/releases{/id}","created_at":"2015-03-10T20:25:35Z","updated_at":"2015-04-21T09:29:24Z","pushed_at":"2015-07-01T07:29:49Z","git_url":"git://github.com/iambibhas/zeroclickinfo-spice.git","ssh_url":"git@github.com:iambibhas/zeroclickinfo-spice.git","clone_url":"https://github.com/iambibhas/zeroclickinfo-spice.git","svn_url":"https://github.com/iambibhas/zeroclickinfo-spice","homepage":"http://duckduckhack.com/","size":15780,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"duckduckgo:master","ref":"master","sha":"77be224de0f533ce3c1952d98f673f0054f9d9e5","user":{"login":"duckduckgo","id":342708,"avatar_url":"https://avatars.githubusercontent.com/u/342708?v=3","gravatar_id":"","url":"https://api.github.com/users/duckduckgo","html_url":"https://github.com/duckduckgo","followers_url":"https://api.github.com/users/duckduckgo/followers","following_url":"https://api.github.com/users/duckduckgo/following{/other_user}","gists_url":"https://api.github.com/users/duckduckgo/gists{/gist_id}","starred_url":"https://api.github.com/users/duckduckgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckduckgo/subscriptions","organizations_url":"https://api.github.com/users/duckduckgo/orgs","repos_url":"https://api.github.com/users/duckduckgo/repos","events_url":"https://api.github.com/users/duckduckgo/events{/privacy}","received_events_url":"https://api.github.com/users/duckduckgo/received_events","type":"Organization","site_admin":false},"repo":{"id":1997671,"name":"zeroclickinfo-spice","full_name":"duckduckgo/zeroclickinfo-spice","owner":{"login":"duckduckgo","id":342708,"avatar_url":"https://avatars.githubusercontent.com/u/342708?v=3","gravatar_id":"","url":"https://api.github.com/users/duckduckgo","html_url":"https://github.com/duckduckgo","followers_url":"https://api.github.com/users/duckduckgo/followers","following_url":"https://api.github.com/users/duckduckgo/following{/other_user}","gists_url":"https://api.github.com/users/duckduckgo/gists{/gist_id}","starred_url":"https://api.github.com/users/duckduckgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckduckgo/subscriptions","organizations_url":"https://api.github.com/users/duckduckgo/orgs","repos_url":"https://api.github.com/users/duckduckgo/repos","events_url":"https://api.github.com/users/duckduckgo/events{/privacy}","received_events_url":"https://api.github.com/users/duckduckgo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/duckduckgo/zeroclickinfo-spice","description":"DuckDuckGo instant answer plugins based on JavaScript APIs","fork":false,"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice","forks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/forks","keys_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/teams","hooks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/hooks","issue_events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/events{/number}","events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/events","assignees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/assignees{/user}","branches_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/branches{/branch}","tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/tags","blobs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/refs{/sha}","trees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/statuses/{sha}","languages_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/languages","stargazers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/stargazers","contributors_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/contributors","subscribers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/subscribers","subscription_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/subscription","commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/commits{/sha}","git_commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/commits{/sha}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/comments{/number}","issue_comment_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/comments{/number}","contents_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/contents/{+path}","compare_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/merges","archive_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/downloads","issues_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues{/number}","pulls_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls{/number}","milestones_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/milestones{/number}","notifications_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/labels{/name}","releases_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/releases{/id}","created_at":"2011-07-04T22:08:37Z","updated_at":"2015-06-26T03:30:26Z","pushed_at":"2015-07-01T16:35:35Z","git_url":"git://github.com/duckduckgo/zeroclickinfo-spice.git","ssh_url":"git@github.com:duckduckgo/zeroclickinfo-spice.git","clone_url":"https://github.com/duckduckgo/zeroclickinfo-spice.git","svn_url":"https://github.com/duckduckgo/zeroclickinfo-spice","homepage":"http://duckduckhack.com/","size":34904,"stargazers_count":238,"watchers_count":238,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":548,"mirror_url":null,"open_issues_count":176,"forks":548,"open_issues":176,"watchers":238,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1982"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1982"},"issue":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/1982"},"comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/1982/comments"},"review_comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1982/comments"},"review_comment":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1982/commits"},"statuses":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/statuses/fb67d7327533274bc373a0a21e74c6089a6e3386"}}}}