{"id":25841998,"url":"https://github.com/medusash/weather-bot","last_synced_at":"2026-06-08T02:32:28.811Z","repository":{"id":277613358,"uuid":"932987538","full_name":"MedusaSH/weather-bot","owner":"MedusaSH","description":"✈️ Weather App Télégram","archived":false,"fork":false,"pushed_at":"2025-02-14T22:35:14.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T05:33:25.104Z","etag":null,"topics":["bot","python","telegram","weather","weather-api","weather-app"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MedusaSH.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-14T22:29:58.000Z","updated_at":"2025-02-14T22:35:18.000Z","dependencies_parsed_at":"2025-02-14T23:26:24.094Z","dependency_job_id":"57b8385f-7070-4bc6-9d56-c12fe7f77746","html_url":"https://github.com/MedusaSH/weather-bot","commit_stats":null,"previous_names":["medusash/weather-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MedusaSH/weather-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MedusaSH%2Fweather-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MedusaSH%2Fweather-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MedusaSH%2Fweather-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MedusaSH%2Fweather-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MedusaSH","download_url":"https://codeload.github.com/MedusaSH/weather-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MedusaSH%2Fweather-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34046003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","python","telegram","weather","weather-api","weather-app"],"created_at":"2025-03-01T05:33:25.487Z","updated_at":"2026-06-08T02:32:28.798Z","avatar_url":"https://github.com/MedusaSH.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌤️ Weather-Bot  \n[![Python](https://img.shields.io/badge/Python-3.12-blue?style=for-the-badge\u0026logo=python)](https://www.python.org/)\n[![Telegram](https://img.shields.io/badge/Telegram-Bot-blue?style=for-the-badge\u0026logo=telegram)](https://core.telegram.org/bots)\n[![License](https://img.shields.io/badge/License-MIT-green?style=for-the-badge)](LICENSE)\n\n\u003e 🤖 Un bot Telegram qui fournit la météo quotidienne selon la localisation de l'utilisateur et à l'heure qu'il choisit.\n\n---\n\n## 🚀 **Fonctionnalités**\n👉 Obtiens la météo actuelle pour une ville donnée.  \n👉 Planifie l'envoi automatique de la météo quotidienne.  \n👉 Personnalise l'heure d'envoi.  \n👉 Simple et rapide d'utilisation.  \n\n---\n\n## 🛠 **Installation et Exécution**\n### **1️⃣ Cloner le projet**\n```bash\ngit clone https://github.com/MedusaSH/weather-bot.git\ncd weather-bot\n```\n\n### **2️⃣ Installer les dépendances**\nAssure-toi d'avoir Python installé (≥ 3.10), puis exécute :  \n```bash\npip install -r requirements.txt\n```\n\n### **3️⃣ Configurer les clés API**\n- **Obtiens une clé OpenWeather** → [weatherapi.com](https://www.weatherapi.com/)  \n- **Crée un bot Telegram** → via [@BotFather](https://t.me/BotFather)  \n\nDans le fichier `weather.py`, remplace :\n```python\nTELEGRAM_TOKEN = \"TON_TOKEN_TELEGRAM\"\nOPENWEATHER_API_KEY = \"TA_CLE_OPENWEATHER\"\n```\n\n### **4️⃣ Lancer le bot**\n```bash\npython weather.py\n```\nLe bot est maintenant actif et attend tes commandes ! 🚀\n\n---\n\n## 🐝 **Commandes Disponibles**\n| Commande         | Description |\n|-----------------|-------------|\n| `/start`        | Démarrer le bot |\n| `/setville \u003cville\u003e` | Définir ta ville (ex: `/setville Paris`) |\n| `/setheure \u003cHH:MM\u003e` | Définir l'heure d'envoi (ex: `/setheure 08:30`) |\n\n---\n\n## 📸 **Aperçu**\n![Weather Bot Demo](https://media.discordapp.net/attachments/1299118707305484389/1340087894013907089/image.png?ex=67b1159b\u0026is=67afc41b\u0026hm=9186c7d8c226c7e1da1b83bcbe89c092e866fbf29f58fbf9f66d79fbd0921bcd\u0026=\u0026format=webp\u0026quality=lossless)\n\n---\n\n## 👨‍💻 **Développement**\n💡 Ce projet utilise :\n- **Python 3.12**\n- **python-telegram-bot**\n- **requests**\n- **APScheduler**\n- **SQLite** pour stocker les utilisateurs et leurs préférences.\n\n### 🌱 **Améliorations futures**\n- ✅ Ajouter des prévisions à 7 jours  \n- ✅ Support de plusieurs langues  \n- ✅ Ajout de notifications météo extrême  \n\n---\n\n## 📝 **Licence**\nCe projet est sous licence **MIT**. Tu es libre de le modifier et de le distribuer. 🌍✨\n\n---\n\n## 📩 **Contact**\n**Créateur** : [MedusaSH](https://github.com/MedusaSH)  \n💬 Contacte-moi sur **Telegram** : [@MedusaSH](https://t.me/yfork13)\n\n---\n\n🔥 **Si ce projet t'a aidé, n'oublie pas de laisser une ⭐ sur le repo !** 🚀\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedusash%2Fweather-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmedusash%2Fweather-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedusash%2Fweather-bot/lists"}