{"id":20645076,"url":"https://github.com/davidai2024/kd-quake","last_synced_at":"2025-03-09T15:54:49.098Z","repository":{"id":226320332,"uuid":"768370050","full_name":"DavidAI2024/KD-QUAKE","owner":"DavidAI2024","description":"\"KD-QUAKE\" is a bot written in Python using the Telebot library. This application provides real-time information about earthquakes worldwide, obtained through the website of the National Institute of Geophysics and Volcanology (INGV).","archived":false,"fork":false,"pushed_at":"2024-03-07T00:58:23.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T09:31:44.009Z","etag":null,"topics":["bs4","earthquake-data","earthquake-visualization","earthquakes","ingv","ingv-data","python","research","science","telegram","telegram-bot","terremoti","terremoto","web-scraping"],"latest_commit_sha":null,"homepage":"http://t.me/KDTOOLS","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/DavidAI2024.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}},"created_at":"2024-03-07T00:33:12.000Z","updated_at":"2024-03-07T00:58:26.000Z","dependencies_parsed_at":"2024-03-07T02:01:25.448Z","dependency_job_id":null,"html_url":"https://github.com/DavidAI2024/KD-QUAKE","commit_stats":null,"previous_names":["davidai2024/kd-quake"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidAI2024%2FKD-QUAKE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidAI2024%2FKD-QUAKE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidAI2024%2FKD-QUAKE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidAI2024%2FKD-QUAKE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavidAI2024","download_url":"https://codeload.github.com/DavidAI2024/KD-QUAKE/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242714052,"owners_count":20173581,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bs4","earthquake-data","earthquake-visualization","earthquakes","ingv","ingv-data","python","research","science","telegram","telegram-bot","terremoti","terremoto","web-scraping"],"created_at":"2024-11-16T16:18:37.390Z","updated_at":"2025-03-09T15:54:49.066Z","avatar_url":"https://github.com/DavidAI2024.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"https://i.ibb.co/vBDDNpd/earthquake.png\" width=\"37px\" /\u003e KD QUAKE\n\n | 🧋To access the bot [click here](http://t.me/KDQUAKEBOT).                                                     |\n|------------------------------------------------------------|\n| **Thanks for the support!**.|\n\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.python.org/downloads/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Python-3.8%2B-blue.svg\" alt=\"Python Version\"\u003e\u003c/a\u003e\n  \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-brightgreen.svg\" alt=\"License\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pypi.org/project/pyTelegramBotAPI/\"\u003e\u003cimg src=\"https://img.shields.io/badge/pyTelegramBotAPI-4.16.1-ff69b4.svg\" alt=\"pyTelegramBotAPI Version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pypi.org/project/requests/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Requests-2.31.0-orange.svg\" alt=\"Requests Version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pypi.org/project/beautifulsoup4/\"\u003e\u003cimg src=\"https://img.shields.io/badge/BeautifulSoup4-4.12.3-yellow.svg\" alt=\"BeautifulSoup4 Version\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n\n\n## Features\n\n- **Earthquake Data Display:**\n  - The `/start` command shows a main menu with options to view earthquake data.\n  - Options include displaying all recorded earthquakes, the latest earthquake, and the most intense earthquake recorded.\n\n- **Callback Handling:**\n  - KD-QUAKE manages inline button callbacks to display the geographical location of earthquakes.\n  - The location is shown on the map directly in the chat.\n\n- **Earthquake Data Parsing:**\n  - Utilizes the BeautifulSoup library to extract data such as date, location, magnitude, depth, and geographic coordinates from INGV's HTML data.\n\n- **User Interaction:**\n  - Provides a welcome message with a link to the \"KDTOOLS\" channel for support.\n  - Uses inline keyboards to allow users to select their desired options.\n\n- **Menu State Logic:**\n  - Maintains a menu state for each user, allowing them to resume interactions where they left off.\n\n## Usage\n\nTo use KD-QUAKE, follow these steps:\n\n1. Start the bot by sending the `/start` command.\n2. Choose from the available options in the main menu to explore earthquake data.\n\n\n## Contributions\n\nContributions are welcome! Feel free to open issues or submit pull requests.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n```\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidai2024%2Fkd-quake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidai2024%2Fkd-quake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidai2024%2Fkd-quake/lists"}