{"action":"created","issue":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/978","labels_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/978/labels{/name}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/978/comments","events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/978/events","html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/978","id":56418914,"number":978,"title":"Instant answer - Bmi calculator","user":{"login":"jrenouard","id":554587,"avatar_url":"https://avatars.githubusercontent.com/u/554587?v=3","gravatar_id":"","url":"https://api.github.com/users/jrenouard","html_url":"https://github.com/jrenouard","followers_url":"https://api.github.com/users/jrenouard/followers","following_url":"https://api.github.com/users/jrenouard/following{/other_user}","gists_url":"https://api.github.com/users/jrenouard/gists{/gist_id}","starred_url":"https://api.github.com/users/jrenouard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrenouard/subscriptions","organizations_url":"https://api.github.com/users/jrenouard/orgs","repos_url":"https://api.github.com/users/jrenouard/repos","events_url":"https://api.github.com/users/jrenouard/events{/privacy}","received_events_url":"https://api.github.com/users/jrenouard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/labels/New%20Instant%20Answer","name":"New Instant Answer","color":"02d7e1"},{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/labels/On%20Hold","name":"On Hold","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-02-03T18:44:34Z","updated_at":"2015-04-20T18:45:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/978","html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/978","diff_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/978.diff","patch_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/978.patch"},"body":"# Goodie Pull Request Template\r\n\r\nUsing this template will help us better understand your Instant Answer and assist you when necessary.  Simply copy and paste the markdown below into the description of your GitHub pull request and complete as appropriate.\r\n\r\n**What does your Instant Answer do?**\r\nShows a bmi calculator when inputing \"bmi\"\r\n\r\n\r\n**What problem does your Instant Answer solve (Why is it better than organic links)?**\r\nCommunity request https://duck.co/ideas/idea/4839/bmi-calculator\r\n\r\n\r\n**What is the data source for your Instant Answer? (Provide a link if possible)**\r\nNone\r\n\r\n\r\n**Why did you choose this data source?**\r\nN/A\r\n\r\n\r\n**Are there any other alternative (better) data sources?**\r\nN/A\r\n\r\n**What are some example queries that trigger this Instant Answer?**\r\nbmi\r\n\r\n**Which communities will this Instant Answer be especially useful for? (gamers, book lovers, etc)**\r\nPeople trying to get in shape\r\n\r\n**Is this Instant Answer connected to a DuckDuckHack [Instant Answer idea](https://duck.co/ideas)?**\r\nYes it is https://duck.co/ideas/idea/4839/bmi-calculator\r\n\r\n**Which existing Instant Answers will this one supercede/overlap with?**\r\nNone (I hope)\r\n\r\n**Are you having any problems? Do you need our help with anything?**\r\nI'm not sure what the text version should return.\r\n\r\n**Where did you hear about DuckDuckHack? (For first time contributors)**\r\nOn your job listing page  https://duck.co/help/company/hiring\r\n\r\n**What does the Instant Answer look like? (Provide a screenshot for new or updated Instant Answers)**\r\n![screen shot 2015-02-03 at 19 40 06](https://cloud.githubusercontent.com/assets/554587/6026622/8ebd796c-abdc-11e4-9907-6ce571e19fb2.png)\r\n![screen shot 2015-02-03 at 19 39 57](https://cloud.githubusercontent.com/assets/554587/6026623/8ebf4954-abdc-11e4-98ff-2a235834ed65.png)\r\n![screen shot 2015-02-03 at 19 40 12](https://cloud.githubusercontent.com/assets/554587/6026624/8ebfd022-abdc-11e4-85ec-25460cb51569.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 (https://duck.co/duckduckhack/metadata)\r\n[X] Wrote test file and added to t/ directory (https://duck.co/duckduckhack/goodie_tests)\r\n[X] Verified that instant answer adheres to design guidelines (https://duck.co/duckduckhack/design_styleguide)\r\n[] Verified that instant answer adheres to code styleguide (https://duck.co/duckduckhack/code_styleguide)\r\n[] Tested cross-browser compatibility\r\n\r\n    Please let us know which browsers/devices you've tested on:\r\n    - Windows 8\r\n        [] Google Chrome\r\n        [] Firefox\r\n        [] Opera\r\n        [] IE 10\r\n\r\n    - Windows 7\r\n        [] Google Chrome\r\n        [] Firefox\r\n        [] Opera\r\n        [] IE 8\r\n        [] IE 9\r\n        [] IE 10\r\n\r\n    - Windows XP\r\n        [] IE 7\r\n        [] IE 8\r\n\r\n    - Mac OSX\r\n        [X] Google Chrome\r\n        [X] Firefox\r\n        [] Opera\r\n        [X] Safari\r\n\r\n    - iOS (iPhone)\r\n        [] Safari Mobile\r\n        [] Google Chrome\r\n        [] Opera\r\n\r\n    - iOS (iPad)\r\n        [] Safari Mobile\r\n        [] Google Chrome\r\n        [] Opera\r\n\r\n    - Android\r\n        [] Firefox\r\n        [] Native Browser\r\n        [] Google Chrome\r\n        [] Opera\r\n```"},"comment":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/comments/94536709","html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/978#issuecomment-94536709","issue_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/978","id":94536709,"user":{"login":"moollaza","id":873785,"avatar_url":"https://avatars.githubusercontent.com/u/873785?v=3","gravatar_id":"","url":"https://api.github.com/users/moollaza","html_url":"https://github.com/moollaza","followers_url":"https://api.github.com/users/moollaza/followers","following_url":"https://api.github.com/users/moollaza/following{/other_user}","gists_url":"https://api.github.com/users/moollaza/gists{/gist_id}","starred_url":"https://api.github.com/users/moollaza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moollaza/subscriptions","organizations_url":"https://api.github.com/users/moollaza/orgs","repos_url":"https://api.github.com/users/moollaza/repos","events_url":"https://api.github.com/users/moollaza/events{/privacy}","received_events_url":"https://api.github.com/users/moollaza/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T18:45:43Z","updated_at":"2015-04-20T18:45:43Z","body":"@jrenouard you can now move forward with this IA! Templates and JS are ready for Goodies :)\r\n\r\nThere's a few Goodies in the repo that use custom templates and JS but I've made a starter IA for you here as an example: https://github.com/duckduckgo/zeroclickinfo-goodies/commit/04e2a70136aca039edb6a30b10d1f8f36907c868\r\n\r\nYou can look at the BPMToMS, Minecraft and CheatSheets Goodies for more examples. The 2048 Game PR is also another example of a tempalted Goodie with a handlebars template and JS.\r\n\r\nWe don't have docs written yet for this but the idea is nearly identical to the way Spice templates are handled and documented.\r\n\r\nLet me know if you have any questions!"}}