Skip to content

Horus: IVR based on (Twillio Voice) which is used to fetch price of crypto currency from coin market cap api

License

Notifications You must be signed in to change notification settings

shivamarora1/crypto-ivr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Horus🐴: Crypto IVR

This IVR🤙 will tell you price of some famous crypto currencies💰. The IVR is based on Twillio voice and fetched crypto price from coin market cap api. This project is used flask framewok for the webhooks of Twillio incoming calls.

Working

  1. Call to the number that you get from twillio.
  2. IVR will tell you all the crypto currencies available and ask you to make a selection.
  3. According to the selection e.g. 1 for Bitcoin, IVR connected web app will fetch the real time prize of crypto currency.
  4. IVR will tell/ say the price of selected crypto currency.
  5. If user make invalid selection then IVR will revert it back to the main menu.

Steps for local set up of project

  1. First clone this repository and cd into it.

$ git clone git@github.com:shivamarora1/crypto-ivr.git
$ cd crypto-ivr

  1. Create a new virtual environment.

python3 venv -m .venv
source .venv/bin/activate

  1. Install the dependencies.
    pip install -r requirements.txt

  2. Set coin market api key in environment variables.
    COIN_MARKET_KEY

  3. Start the server.
    make run

  4. Expose the application to the wider Internet using ngrok.

  5. Configure Twilio to call your webhooks

Python constructs used

  1. requests to make http request.
  2. objects and classes.

About

Horus: IVR based on (Twillio Voice) which is used to fetch price of crypto currency from coin market cap api

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published