{"action":"created","comment":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments/59870114","id":59870114,"diff_hunk":"@@ -0,0 +1,28 @@\n+(function (env) {\n+    \"use strict\";\n+    env.ddg_spice_piratetalk = function(api_result) {\n+\n+        if (!api_result || api_result.translation===\"\") {\n+            return Spice.failed('piratetalk');\n+        }\n+        \n+        Spice.add({\n+            id: \"piratetalk\",\n+            name: \"Answer\",\n+            data: {\n+                title:api_result.translation,\n+            },\n+            meta: {\n+                sourceName: \"Pirate\",\n+                sourceUrl: 'https://pirate-speak.herokuapp.com/',\n+            },\n+            templates: {     \n+                group: 'base',","path":"share/spice/piratetalk/piratetalk.js","position":20,"original_position":20,"commit_id":"88ad16e620ead27a2e410ed4ae9f4d938cc32b23","original_commit_id":"88ad16e620ead27a2e410ed4ae9f4d938cc32b23","user":{"login":"GuiltyDolphin","id":8598426,"avatar_url":"https://avatars.githubusercontent.com/u/8598426?v=3","gravatar_id":"","url":"https://api.github.com/users/GuiltyDolphin","html_url":"https://github.com/GuiltyDolphin","followers_url":"https://api.github.com/users/GuiltyDolphin/followers","following_url":"https://api.github.com/users/GuiltyDolphin/following{/other_user}","gists_url":"https://api.github.com/users/GuiltyDolphin/gists{/gist_id}","starred_url":"https://api.github.com/users/GuiltyDolphin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuiltyDolphin/subscriptions","organizations_url":"https://api.github.com/users/GuiltyDolphin/orgs","repos_url":"https://api.github.com/users/GuiltyDolphin/repos","events_url":"https://api.github.com/users/GuiltyDolphin/events{/privacy}","received_events_url":"https://api.github.com/users/GuiltyDolphin/received_events","type":"User","site_admin":false},"body":"Why are we using the `base` template? Why not just use `text`?","created_at":"2016-04-15T13:01:11Z","updated_at":"2016-04-15T13:01:11Z","html_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/2684#discussion_r59870114","pull_request_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/2684","_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments/59870114"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/2684#discussion_r59870114"},"pull_request":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/2684"}}},"pull_request":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/2684","id":66505527,"html_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/2684","diff_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/2684.diff","patch_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/2684.patch","issue_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/2684","number":2684,"state":"open","locked":false,"title":"New PirateSpeak Spice","user":{"login":"thejasbabu","id":13657241,"avatar_url":"https://avatars.githubusercontent.com/u/13657241?v=3","gravatar_id":"","url":"https://api.github.com/users/thejasbabu","html_url":"https://github.com/thejasbabu","followers_url":"https://api.github.com/users/thejasbabu/followers","following_url":"https://api.github.com/users/thejasbabu/following{/other_user}","gists_url":"https://api.github.com/users/thejasbabu/gists{/gist_id}","starred_url":"https://api.github.com/users/thejasbabu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejasbabu/subscriptions","organizations_url":"https://api.github.com/users/thejasbabu/orgs","repos_url":"https://api.github.com/users/thejasbabu/repos","events_url":"https://api.github.com/users/thejasbabu/events{/privacy}","received_events_url":"https://api.github.com/users/thejasbabu/received_events","type":"User","site_admin":false},"body":"This Spice will help one translate texts into pirate language and helps to have fun.\r\nGiven the query\r\n\"Pirate speak Hello good morning, my old friend\" \r\nwill give \"Ahoy jolly good morning, me barnacle-covered shipmate\"\r\n\r\nhttps://duck.co/ia/view/talk_like_a_pirate","created_at":"2016-04-14T15:34:55Z","updated_at":"2016-04-15T13:01:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c149baaf3f6d7f86ec29835e3f163f30225d3a9c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/2684/commits","review_comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/2684/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/2684/comments","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/statuses/88ad16e620ead27a2e410ed4ae9f4d938cc32b23","head":{"label":"thejasbabu:dev_pirate","ref":"dev_pirate","sha":"88ad16e620ead27a2e410ed4ae9f4d938cc32b23","user":{"login":"thejasbabu","id":13657241,"avatar_url":"https://avatars.githubusercontent.com/u/13657241?v=3","gravatar_id":"","url":"https://api.github.com/users/thejasbabu","html_url":"https://github.com/thejasbabu","followers_url":"https://api.github.com/users/thejasbabu/followers","following_url":"https://api.github.com/users/thejasbabu/following{/other_user}","gists_url":"https://api.github.com/users/thejasbabu/gists{/gist_id}","starred_url":"https://api.github.com/users/thejasbabu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejasbabu/subscriptions","organizations_url":"https://api.github.com/users/thejasbabu/orgs","repos_url":"https://api.github.com/users/thejasbabu/repos","events_url":"https://api.github.com/users/thejasbabu/events{/privacy}","received_events_url":"https://api.github.com/users/thejasbabu/received_events","type":"User","site_admin":false},"repo":{"id":55617954,"name":"zeroclickinfo-spice","full_name":"thejasbabu/zeroclickinfo-spice","owner":{"login":"thejasbabu","id":13657241,"avatar_url":"https://avatars.githubusercontent.com/u/13657241?v=3","gravatar_id":"","url":"https://api.github.com/users/thejasbabu","html_url":"https://github.com/thejasbabu","followers_url":"https://api.github.com/users/thejasbabu/followers","following_url":"https://api.github.com/users/thejasbabu/following{/other_user}","gists_url":"https://api.github.com/users/thejasbabu/gists{/gist_id}","starred_url":"https://api.github.com/users/thejasbabu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejasbabu/subscriptions","organizations_url":"https://api.github.com/users/thejasbabu/orgs","repos_url":"https://api.github.com/users/thejasbabu/repos","events_url":"https://api.github.com/users/thejasbabu/events{/privacy}","received_events_url":"https://api.github.com/users/thejasbabu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thejasbabu/zeroclickinfo-spice","description":"DuckDuckGo Instant Answers based on JavaScript (JSON) APIs","fork":true,"url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice","forks_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/forks","keys_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/teams","hooks_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/hooks","issue_events_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/issues/events{/number}","events_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/events","assignees_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/assignees{/user}","branches_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/branches{/branch}","tags_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/tags","blobs_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/git/refs{/sha}","trees_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/statuses/{sha}","languages_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/languages","stargazers_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/stargazers","contributors_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/contributors","subscribers_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/subscribers","subscription_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/subscription","commits_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/commits{/sha}","git_commits_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/git/commits{/sha}","comments_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/comments{/number}","issue_comment_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/issues/comments{/number}","contents_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/contents/{+path}","compare_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/merges","archive_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/downloads","issues_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/issues{/number}","pulls_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/pulls{/number}","milestones_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/milestones{/number}","notifications_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/labels{/name}","releases_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/releases{/id}","deployments_url":"https://api.github.com/repos/thejasbabu/zeroclickinfo-spice/deployments","created_at":"2016-04-06T15:30:53Z","updated_at":"2016-04-06T15:30:58Z","pushed_at":"2016-04-14T18:46:38Z","git_url":"git://github.com/thejasbabu/zeroclickinfo-spice.git","ssh_url":"git@github.com:thejasbabu/zeroclickinfo-spice.git","clone_url":"https://github.com/thejasbabu/zeroclickinfo-spice.git","svn_url":"https://github.com/thejasbabu/zeroclickinfo-spice","homepage":"http://duckduckhack.com/","size":19324,"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":"5ee42c8acb7e812b326fd18796ac8f7fad13d27f","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 Answers based on JavaScript (JSON) 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}","deployments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/deployments","created_at":"2011-07-04T22:08:37Z","updated_at":"2016-04-14T18:41:43Z","pushed_at":"2016-04-14T23:32:31Z","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":24393,"stargazers_count":322,"watchers_count":322,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":864,"mirror_url":null,"open_issues_count":192,"forks":864,"open_issues":192,"watchers":322,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/2684"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/2684"},"issue":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/2684"},"comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/2684/comments"},"review_comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/2684/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/2684/commits"},"statuses":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/statuses/88ad16e620ead27a2e410ed4ae9f4d938cc32b23"}}}}