This chatbot uses Python and Flask to connect the Twilio API with the Guild Wars 2 API. It's hosted on Heroku, and you can talk to it via SMS texting.
- In Twilio
- Greets the user and listens for additional commands
- If the user requests help, lists the currently implemented commands
- If the user says goodbye, sends the user a farewell message
- Listens for if the user wants to supply an api key
- In Python
- Asks for an amount and type of currency and returns the amount in another currency (gold to gems, gems to gold)
- Accepts the API key and stores it for usage elsewhere (currently there's no integration with the Account api, so it is unused)
- Text (724) 257-4486 😄
- Python3
- Package requirements can be installed with
python -m pip install -r requirements.txt
- Package requirements can be installed with
- A Twilio account (trial is fine)
- Clone this repository
- Create a
twilio.env
at the project root - Add your Twilio credentials to the .env file
- Follow the official Twilio credential documentation for more information, as they keep it up-to-date
- Environment values used: TWILIO_AUTH_TOKEN
- This is used to validate requests come from Twilio
Log an issue with the Github repository to request additional features!
Current ideas for future functionality include:
- Account statistics, utilizing api keys
- Quaggans