{"_id":"@abbott-platform/api-ai-botkit","_rev":"5-b1b808ffd20a96a151c687d0e55aa47f","name":"@abbott-platform/api-ai-botkit","description":"Utility lib for creating bots with Botkit","dist-tags":{"latest":"1.6.0"},"versions":{"1.5.3":{"name":"@abbott-platform/api-ai-botkit","version":"1.5.3","description":"Utility lib for creating bots with Botkit","main":"api-ai-botkit.js","repository":{"type":"git","url":"git+https://github.com/api-ai/api-ai-botkit.git"},"bugs":{"url":"https://github.com/api-ai/api-ai-botkit/issues"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","publish":"npm publish --access public"},"keywords":["apiai","bot"],"author":{"name":"Danil Skachkov","email":"danil.skachkov@speaktoit.com","url":"https://api.ai"},"license":"Apache-2.0","dependencies":{"@abbott-platform/botkit":"^1.5.3","apiai":"^3.0.3","botkit":"^0.4.10","html-entities":"^1.2.0","uuid":"^3.0.1"},"gitHead":"1096455fb4ff39ebe439819b579fdc0b80e46ba7","homepage":"https://github.com/api-ai/api-ai-botkit#readme","_id":"@abbott-platform/api-ai-botkit@1.5.3","_npmVersion":"5.3.0","_nodeVersion":"7.10.0","_npmUser":{"name":"patrinhani-ciandt","email":"patrinhani@ciandt.com"},"dist":{"integrity":"sha512-krun+setTWdewr3gS11E3lQu02/mlhL9eebBovESZ5gnLconER5N8nqHEoIKjtHKpwdVJ1XH5oppVGJ0Zygnqw==","shasum":"b6a600ae86cf2fda7569ebbed084874a7a2fd1fa","tarball":"https://registry.npmjs.org/@abbott-platform/api-ai-botkit/-/api-ai-botkit-1.5.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/5k6uHAU59f6sRTPMhzf6NFQTSLEYTZkyrNTCguDLvQIgSWcw7zwNbI/QvwC+QW2zydLbI1UKG00RFtMKqkzuUd0="}]},"maintainers":[{"name":"patrinhani-ciandt","email":"patrinhani@ciandt.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/api-ai-botkit-1.5.3.tgz_1505754808004_0.30670653632842004"}},"1.5.4":{"name":"@abbott-platform/api-ai-botkit","version":"1.5.4","description":"Utility lib for creating bots with Botkit","main":"api-ai-botkit.js","repository":{"type":"git","url":"git+https://github.com/api-ai/api-ai-botkit.git"},"bugs":{"url":"https://github.com/api-ai/api-ai-botkit/issues"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","publish":"npm publish --access public"},"keywords":["apiai","bot"],"author":{"name":"Danil Skachkov","email":"danil.skachkov@speaktoit.com","url":"https://api.ai"},"license":"Apache-2.0","dependencies":{"@abbott-platform/botkit":"^1.5.3","apiai":"^3.0.3","html-entities":"^1.2.0","uuid":"^3.0.1"},"gitHead":"7792b010a873680a7401068831897fbc4181a9ea","homepage":"https://github.com/api-ai/api-ai-botkit#readme","_id":"@abbott-platform/api-ai-botkit@1.5.4","_npmVersion":"5.3.0","_nodeVersion":"7.10.0","_npmUser":{"name":"patrinhani-ciandt","email":"patrinhani@ciandt.com"},"dist":{"integrity":"sha512-4yZUgh7cC0kTapKiPLDYn28O5sxFp4NI+0pPUlNhRFev/TY2cLT33OFIae99lX+MqwmZoIoYziv3UrkW1KRJ7g==","shasum":"78cd05cebbdf370c59a52dfd2cc006a9aa71e736","tarball":"https://registry.npmjs.org/@abbott-platform/api-ai-botkit/-/api-ai-botkit-1.5.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDJ2yDZLRvnrimdg16frIswxc0PbDSiQh22zzZPXRtj1AiEA3iDeCfx7dFUrVGdWVwsXjnc5lTGcSi6psakpKwruZts="}]},"maintainers":[{"name":"patrinhani-ciandt","email":"patrinhani@ciandt.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/api-ai-botkit-1.5.4.tgz_1505755371096_0.7077999003231525"}},"1.6.0":{"name":"@abbott-platform/api-ai-botkit","version":"1.6.0","description":"Utility lib for creating bots with Botkit","main":"api-ai-botkit.js","repository":{"type":"git","url":"git+https://github.com/api-ai/api-ai-botkit.git"},"bugs":{"url":"https://github.com/api-ai/api-ai-botkit/issues"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","publish":"npm publish --access public"},"keywords":["apiai","bot"],"author":{"name":"Danil Skachkov","email":"danil.skachkov@speaktoit.com","url":"https://api.ai"},"license":"Apache-2.0","dependencies":{"apiai":"^3.0.3","html-entities":"^1.2.0","uuid":"^3.0.1"},"gitHead":"dd07c2384348cefe09ea0a5273dc1e6f2bf6e2b9","homepage":"https://github.com/api-ai/api-ai-botkit#readme","_id":"@abbott-platform/api-ai-botkit@1.6.0","_shasum":"5e7c99f5f0d18b170d8d7b904e32d6eba6210bad","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"patrinhani-ciandt","email":"patrinhani@ciandt.com"},"dist":{"shasum":"5e7c99f5f0d18b170d8d7b904e32d6eba6210bad","tarball":"https://registry.npmjs.org/@abbott-platform/api-ai-botkit/-/api-ai-botkit-1.6.0.tgz","integrity":"sha512-wfD0ZzSUu2MF063xBunSqOEZuWABhkjdv+mWWUstd5P/k/VaIYVE5Tog3FER96yF3sTv/3gCDHAOUOButgSOvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGzrdveLGvHujTzPeTBTdon404pvJLl+cAPL9IQEcWUjAiBJBvlNeKpB65gQ4PEH2knSlucndK52GTxb5ge8wnDJuw=="}]},"maintainers":[{"name":"patrinhani-ciandt","email":"patrinhani@ciandt.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/api-ai-botkit-1.6.0.tgz_1512446384652_0.2945490551646799"}}},"readme":"# api-ai-botkit\n\n[![npm](https://img.shields.io/npm/v/api-ai-botkit.svg)](https://www.npmjs.com/package/api-ai-botkit)\n\nUtility lib for creating bots. So far only tested with Slack.\n\nFor usage sample code see `examples/sample_bot.js`\n\n## Steps for using lib\n\nInstall library from npm\n```sh\nnpm install --save api-ai-botkit\n```\n\nImport Library\n```js\nconst apiaibotkit = require('api-ai-botkit');\n```\n\nCreate `apiai` object using token from http://api.ai website\n```js\nconst apiai = apiaibotkit(apiaiToken);\n```\n\nUse `apiai` object in `controller.hears`\n```js\ncontroller.hears('.*', ['direct_message', 'direct_mention', 'mention'], function (bot, message) {\n    apiai.process(message, bot);\n});\n```\n\nImplement different reactions to appropriate actions\n```js\napiai\n    .action('smalltalk.greetings', function (message, resp, bot) {\n        var responseText = resp.result.fulfillment.speech;\n        bot.reply(message, responseText);\n    })\n    .action('input.unknown', function (message, resp, bot) {\n        bot.reply(message, \"Sorry, I don't understand\");\n    });\n```\n## License\nSee [LICENSE](LICENSE).\n\n## Terms\nYour use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the [Google APIs Terms of Service](https://developers.google.com/terms/).\n\nThis is not an official Google product.","maintainers":[{"name":"patrinhani-ciandt","email":"patrinhani@ciandt.com"}],"time":{"modified":"2022-06-12T14:14:20.417Z","created":"2017-09-18T17:13:28.092Z","1.5.3":"2017-09-18T17:13:28.092Z","1.5.4":"2017-09-18T17:22:51.157Z","1.6.0":"2017-12-05T03:59:44.714Z"},"homepage":"https://github.com/api-ai/api-ai-botkit#readme","keywords":["apiai","bot"],"repository":{"type":"git","url":"git+https://github.com/api-ai/api-ai-botkit.git"},"author":{"name":"Danil Skachkov","email":"danil.skachkov@speaktoit.com","url":"https://api.ai"},"bugs":{"url":"https://github.com/api-ai/api-ai-botkit/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}