Webhook to download CSV File with Flow API
$ git clone https://github.com/dedenbangkit/akvo-flow-csv.git
$ cd akvo-flow-csv
$ pip install -r requirements.txt
$ cp config.example.json config.json
$ vim config.json
- SECRET.username : Your Email Address
- SECRET.password : Your Password
- INSTANCE : Instance ID (e.g. xxx.akvoflow.org)
- SURVEY : Survey ID
- FORM : Form ID
$ python app.py
* Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger PIN: 953-947-058
Once server is running open your browser then download the CSV file from:
http://localhost:5000