The API used for Viable Facebook Messenger bot. Check out the bot - Click Here
Viable bot API requires Python v3+ to run.
Install the libraries and edit the config file and start the server.
-
Install Libraries
$ cd ViableBotAPI $ pip3 install -r requirements.txt
-
Edit config.py file
$ sudo nano config.py
- Assign your Google Maps API Key to 'places_api_key' variable.
- Save File
-
Set FLASK_APP environment Variable to app.py
- For Linux
$ export FLASK_APP=app.py
- For Windows
$ set FLASK_APP=app.py
-
Start the Server
$ python3 -m flask run
-
Server will run at http://localhost:5000
-
Endpoint URL will be http://localhost:5000/api/search