Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 626 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 626 Bytes

PollutionTracker

This is a Twitter bot tracking pollution in Israel and posting when its values are abnormal.

Operation

Upon operation, the code queries svivaaqm.net's API all stations in Israel for levels of

  1. NO2
  2. SO2
  3. Benzene

as detailed in conf.py and checks if the last hour's average is below what's recommended by law.

If an abnormality is found, an image is rendered using placid.app service and posted to the Twitter account via Twitter's API.

Todo

  1. Post sequential reports as reply tweets.