GitHub PullRequestReviewCommentEvent at 2014-06-06 19:03:36
Repository: zeroclickinfo-spice
Actor: killerfish
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments/13505311","id":13505311,"diff_hunk":"@@ -0,0 +1,31 @@\n+package DDG::Spice::Apod;\n+# ABSTRACT: Display astronomy picture of the day\n+\n+use DateTime;\n+use DateTime::TimeZone;\n+use DDG::Spice;\n+\n+name \"Apod\";\n+source \"http://apod.nasa.gov/apod/astropix.html\";\n+description \"Astronomy picture of the day\";\n+primary_example_queries \"apod\", \"astronomy picture of the day\";\n+secondary_example_queries \"astronomy picture\";\n+category \"special\";\n+topics \"everyday\",\"special_interest\";\n+code_url \"https://github.com/duckduckgo/zeroclickinfo-goodie/blob/master/lib/DDG/Spice/Apod.pm\";\n+attribution github => [\"https://github.com/killerfish\", \"Usman Raza\"],\n+            twitter => [\"https://twitter.com/f1shie\", \"Usman Raza\"];\n+\n+spice to => 'http://apod.nasa.gov/apod/ap$1.html';","path":"lib/DDG/Spice/Apod.pm","position":19,"original_position":19,"commit_id":"169e4e6306b822f25fb80b5fa4f49319ec1b66c9","original_commit_id":"169e4e6306b822f25fb80b5fa4f49319ec1b66c9","user":{"login":"killerfish","id":1424236,"avatar_url":"https://avatars.githubusercontent.com/u/1424236?","gravatar_id":"b0b2b9004b2a304b049c673d03badea8","url":"https://api.github.com/users/killerfish","html_url":"https://github.com/killerfish","followers_url":"https://api.github.com/users/killerfish/followers","following_url":"https://api.github.com/users/killerfish/following{/other_user}","gists_url":"https://api.github.com/users/killerfish/gists{/gist_id}","starred_url":"https://api.github.com/users/killerfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killerfish/subscriptions","organizations_url":"https://api.github.com/users/killerfish/orgs","repos_url":"https://api.github.com/users/killerfish/repos","events_url":"https://api.github.com/users/killerfish/events{/privacy}","received_events_url":"https://api.github.com/users/killerfish/received_events","type":"User","site_admin":false},"body":"afaik, wrap_string_callback is supposed to handle such cases? (dont recall but someone suggested to use wrap_string_callback for non-JSON responses), do tell if its okay, so i update this, or we can close it (mb reopen when we have support for non-JSON responses)","created_at":"2014-06-06T19:03:36Z","updated_at":"2014-06-06T19:03:36Z","html_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/846#discussion_r13505311","pull_request_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/846","_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments/13505311"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/846#discussion_r13505311"},"pull_request":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/846"}}},"pull_request":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/846","id":16577482,"html_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/846","diff_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/846.diff","patch_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/846.patch","issue_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/846","number":846,"state":"open","title":"astronomy picture of day","user":{"login":"killerfish","id":1424236,"avatar_url":"https://avatars.githubusercontent.com/u/1424236?","gravatar_id":"b0b2b9004b2a304b049c673d03badea8","url":"https://api.github.com/users/killerfish","html_url":"https://github.com/killerfish","followers_url":"https://api.github.com/users/killerfish/followers","following_url":"https://api.github.com/users/killerfish/following{/other_user}","gists_url":"https://api.github.com/users/killerfish/gists{/gist_id}","starred_url":"https://api.github.com/users/killerfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killerfish/subscriptions","organizations_url":"https://api.github.com/users/killerfish/orgs","repos_url":"https://api.github.com/users/killerfish/repos","events_url":"https://api.github.com/users/killerfish/events{/privacy}","received_events_url":"https://api.github.com/users/killerfish/received_events","type":"User","site_admin":false},"body":"**What does your instant answer do?**\r\n Display astronomy picture of the day\r\n\r\n**What problem does your instant answer solve (Why is it better than organic links)?**\r\n Saves a click\r\n\r\n**What is the data source for your instant answer? (Provide a link if possible)**\r\n Nasa, http://apod.nasa.gov/apod/astropix.html\r\n\r\n**Why did you choose this data source?**\r\n Using suggested source.\r\n\r\n**Are there any other alternative (better) data sources?**\r\nMight be.\r\n\r\n**What are some example queries that trigger this instant answer?**\r\napod, astronomy picture of day\r\n\r\n**Which communities will this instant answer be especially useful for? (gamers, book lovers, etc)**\r\n general users.\r\n\r\n**Is this instant answer connected to a DuckDuckHack [instant answer idea](https://duck.co/ideas)?**\r\n Yes, [here](https://duck.co/ideas/idea/373/astronomy-picture-of-the-day)\r\n\r\n**Which existing instant answers will this one supersede/overlap with?**\r\n No idea.\r\n\r\n**Are you having any problems? Do you need our help with anything?**\r\n\r\n![apod_1](https://cloud.githubusercontent.com/assets/1424236/3142205/78039b28-e9b0-11e3-965a-b62820dea163.png)\r\n![apod_2](https://cloud.githubusercontent.com/assets/1424236/3142207/7d5101f6-e9b0-11e3-8fab-7bcba85af075.png)\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://github.com/duckduckgo/duckduckgo-documentation/blob/master/duckduckhack/styleguides/design_styleguide.md)\r\n[X] Tested cross-browser compatability\r\n\r\n    Please let us know which browsers/devices you've tested on:\r\n      - Mac OSX\r\n        [X] Google Chrome   \r\n        [X] Firefox         \r\n```","created_at":"2014-06-01T17:17:28Z","updated_at":"2014-06-06T19:03:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a0fbb10bccf0ab0b13606f3bbc0e33ce122da0f4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/846/commits","review_comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/846/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/846/comments","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/statuses/169e4e6306b822f25fb80b5fa4f49319ec1b66c9","head":{"label":"killerfish:bttf-apod","ref":"bttf-apod","sha":"169e4e6306b822f25fb80b5fa4f49319ec1b66c9","user":{"login":"killerfish","id":1424236,"avatar_url":"https://avatars.githubusercontent.com/u/1424236?","gravatar_id":"b0b2b9004b2a304b049c673d03badea8","url":"https://api.github.com/users/killerfish","html_url":"https://github.com/killerfish","followers_url":"https://api.github.com/users/killerfish/followers","following_url":"https://api.github.com/users/killerfish/following{/other_user}","gists_url":"https://api.github.com/users/killerfish/gists{/gist_id}","starred_url":"https://api.github.com/users/killerfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killerfish/subscriptions","organizations_url":"https://api.github.com/users/killerfish/orgs","repos_url":"https://api.github.com/users/killerfish/repos","events_url":"https://api.github.com/users/killerfish/events{/privacy}","received_events_url":"https://api.github.com/users/killerfish/received_events","type":"User","site_admin":false},"repo":{"id":18378950,"name":"zeroclickinfo-spice","full_name":"killerfish/zeroclickinfo-spice","owner":{"login":"killerfish","id":1424236,"avatar_url":"https://avatars.githubusercontent.com/u/1424236?","gravatar_id":"b0b2b9004b2a304b049c673d03badea8","url":"https://api.github.com/users/killerfish","html_url":"https://github.com/killerfish","followers_url":"https://api.github.com/users/killerfish/followers","following_url":"https://api.github.com/users/killerfish/following{/other_user}","gists_url":"https://api.github.com/users/killerfish/gists{/gist_id}","starred_url":"https://api.github.com/users/killerfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killerfish/subscriptions","organizations_url":"https://api.github.com/users/killerfish/orgs","repos_url":"https://api.github.com/users/killerfish/repos","events_url":"https://api.github.com/users/killerfish/events{/privacy}","received_events_url":"https://api.github.com/users/killerfish/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/killerfish/zeroclickinfo-spice","description":"DuckDuckGo instant answer plugins based on JavaScript APIs","fork":true,"url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice","forks_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/forks","keys_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/teams","hooks_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/hooks","issue_events_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/issues/events{/number}","events_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/events","assignees_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/assignees{/user}","branches_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/branches{/branch}","tags_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/tags","blobs_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/git/refs{/sha}","trees_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/statuses/{sha}","languages_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/languages","stargazers_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/stargazers","contributors_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/contributors","subscribers_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/subscribers","subscription_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/subscription","commits_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/commits{/sha}","git_commits_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/git/commits{/sha}","comments_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/comments{/number}","issue_comment_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/issues/comments/{number}","contents_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/contents/{+path}","compare_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/merges","archive_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/downloads","issues_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/issues{/number}","pulls_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/pulls{/number}","milestones_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/milestones{/number}","notifications_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/labels{/name}","releases_url":"https://api.github.com/repos/killerfish/zeroclickinfo-spice/releases{/id}","created_at":"2014-04-02T19:40:50Z","updated_at":"2014-06-01T17:17:28Z","pushed_at":"2014-06-01T17:01:51Z","git_url":"git://github.com/killerfish/zeroclickinfo-spice.git","ssh_url":"git@github.com:killerfish/zeroclickinfo-spice.git","clone_url":"https://github.com/killerfish/zeroclickinfo-spice.git","svn_url":"https://github.com/killerfish/zeroclickinfo-spice","homepage":"http://duckduckhack.com/","size":10159,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":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":"f9c7451d07ef37dcad0a79950b5e72835255a3e9","user":{"login":"duckduckgo","id":342708,"avatar_url":"https://avatars.githubusercontent.com/u/342708?","gravatar_id":"5990c802462deecd497116fb037eb05a","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?","gravatar_id":"5990c802462deecd497116fb037eb05a","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":"2014-06-06T13:11:09Z","pushed_at":"2014-06-06T13:11:08Z","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":29587,"stargazers_count":161,"watchers_count":161,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":249,"mirror_url":null,"open_issues_count":111,"forks":249,"open_issues":111,"watchers":161,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/846"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/846"},"issue":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/846"},"comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/846/comments"},"review_comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/846/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/846/commits"},"statuses":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/statuses/169e4e6306b822f25fb80b5fa4f49319ec1b66c9"}}}}