Instagram Weather Bot
Instagram bot for automated daily weather reports written in python
The scope of this python project was to automatically post weather data and water temperature for Lake Starnberg (
Following subtasks are accomplished:
- parse a .json configuration file for target locations and authentication tokens
- retrieve weather data for the day of posting and the next day using an API
- scrape water temperature from the site of the Waterscience Service Bavaria
- combine the collected data with a background .png image using pillow
- use instagrapi to authenticate with instagram and upload the images
Using a cronjob the script runs once a day on my VPS.
During the project I applied multiple new concepts in python, especially
- using APIs
- web scraping
- image manipulation
- configuration file layout and parsing
- keeping the code flexible so it can easily be adapted for new locations