weather pinger

Weather Pinger

Weather Notification System via Telegram Bot

Description

This solo project, completed in just one day during the summer season, demonstrates a practical application of API integration using the Python Programming Language. The objective was to create a system that sends regular weather notifications to a Telegram bot account. This project showcases the ability to work efficiently under time constraints while utilizing Python for effective communication with APIs, highlighting skills relevant to cybersecurity, such as secure data handling and real-time alert systems.

Project Components

1. Telegram Bot API Token: Created using the Bot Father, this token is essential for integrating the Telegram bot with the system and sending automated messages.

2. Programming Language: The project utilizes Python 3, known for its simplicity and efficiency, to handle API integrations and automate tasks.

3. API for Getting Current Weather Information: OpenWeatherMap API is used to fetch real-time weather data, which is then processed and sent as notifications via the Telegram bot.

4. Python Libraries: The project leverages several Python libraries, including Requests for making HTTP requests, json for parsing JSON data, schedule for setting up regular task scheduling, and time for managing timing operations within the script.

For the code, click here