Skip to content

Azure Function (Python) sample to call API, comparing previously state and send alert message over WhatsApp via Twilio.

Notifications You must be signed in to change notification settings

easonlai/azure_function_python_sample_01

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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) Data.gov.hk). This is basic (Timer Trigger Azure Function to regularly call API, comparing previous state of result and send alert message over WhatsApp via (Twilio).

  • init.py > main function code
  • requirements > required libraries to run this code
  • function.json > timer trigger function configuration

alt text