CodeForAfrica / HealthTools.API

HealthTools API to retrieve, structure and return data being used by the health tools. Accessible at https://api.healthtools.codeforafrica.org/
https://api.healthtools.codeforafrica.org/
MIT License
19 stars 20 forks source link

Added Messenger Bot #65

Closed Awinja-j closed 5 years ago

Awinja-j commented 6 years ago

Healthtools.API currently can only process text messages using twilio and mtech API.

This PR therefore introduces:

process_bot_query can be used by any bot to do a query search and return a response to the bot. views/bot.py currently uses messenger as default adapter and can be refactored when other bots are added

This task involved:

screen shot 2017-10-23 at 4 53 09 pm

Relevant Github issue: https://github.com/CodeForAfricaLabs/HealthTools.API/issues/50 and https://github.com/CodeForAfricaLabs/HealthTools.API/issues/47