Validate the installation by running the unit tests. Installing collected packages: pep8, mccabe, pyflakes, flake8, funcsigs, pbr, six, mock, requests, kik, click, Werkzeug, MarkupSafe, Jinja2, itsdangerous, Flask, pyyaml, nose, coverage, cov-core, nose-cov Using cached 圓-none-any.whlĬollecting Werkzeug >=0.7 (from Flask=0.11- >-r (line 4)) Using cached pyflakes-1.0.0-py2.p圓-none-any.whlĬollecting funcsigs >=1 python_version -r (line 2)) Using cached pep8-1.7.0-py2.p圓-none-any.whlĬollecting nose (from -r (line 7))Ĭollecting nose-cov (from -r (line 8))Ĭollecting mccabe =0.2.1 (from flake8=2.5.4- >-r (line 1)) Using cached 圓-none-any.whlĬollecting pyyaml (from -r (line 5))Ĭollecting pep8 (from -r (line 6)) Ollecting flake8=2.5.4 (from -r (line 1)) We'll be using Python 2.7 today on Linux / MacOS X using virtualenv Get the sample bot Make sure you're running at least Python 2.7 or Python 3. Next step: Setting up your development environment! Setting up Python You will be prompted to agree to the Kik API Terms of Use. Once you've chosen your bot's name, Botsworth will ask you to confirm, and will then log you into the Kik Bot Dashboard. Hint: Avoid numbers and special characters in your bot's name. Choose wisely! Your bot should be cleverly and descriptively named - it should provide relatively clear indication as to the function of your bot. Follow the prompts to configure your bot.īotsworth will ask you to give your bot a name which, is the first step.
Pulling down will allow Kik to scan the code and introduce you to Botsworth, the bot maker bot. (the above scan code is only an example, you must go to the link above for a valid scan code) and in Kik, pull down on your conversations list to scan the code. Remember to replace the BOT_USERNAME_HERE, BOT_API_KEY_HERE and WEBHOOK_HERE fields with your own. It's designed to greet the user, send a suggested response and replies to them with their profile picture.