Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/easonlai/azure_function_python_sample_01
Azure Function (Python) sample to call API, comparing previously state and send alert message over WhatsApp via Twilio.
https://github.com/easonlai/azure_function_python_sample_01
api api-rest azure azure-functions azure-functions-python azure-functions-v3 azure-storage covid-19 hongkong python python3 timer-functions twilio twilio-api twilio-python whatsapp
Last synced: 14 days ago
JSON representation
Azure Function (Python) sample to call API, comparing previously state and send alert message over WhatsApp via Twilio.
- Host: GitHub
- URL: https://github.com/easonlai/azure_function_python_sample_01
- Owner: easonlai
- Created: 2020-08-06T04:57:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-06T05:09:08.000Z (over 4 years ago)
- Last Synced: 2024-11-10T23:39:04.702Z (2 months ago)
- Topics: api, api-rest, azure, azure-functions, azure-functions-python, azure-functions-v3, azure-storage, covid-19, hongkong, python, python3, timer-functions, twilio, twilio-api, twilio-python, whatsapp
- Language: Python
- Homepage:
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azure Function (Python) sample to call API, comparing previously state and send alert message over WhatsApp via Twilio.
This is demostration of using Azure Function (Python) to obtain latest number of confirmed COVID-19 cases in particular Hong Kong district from HK Gov Open Data API ([Data in Coronavirus Disease (COVID-19)](https://data.gov.hk/en-data/dataset/hk-dh-chpsebcddr-novel-infectious-agent) [Data.gov.hk](https://data.gov.hk/en/)). This is basic ([Timer Trigger](https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-timer?tabs=csharp) Azure Function to regularly call API, comparing previous state of result and send alert message over WhatsApp via ([Twilio](https://www.twilio.com/whatsapp)).
* __init__.py > main function code
* requirements > required libraries to run this code
* function.json > timer trigger function configuration![alt text](https://github.com/easonlai/azure_function_python_sample_01/blob/master/git-images/diagram1.PNG)