https://github.com/davidai2024/kd-quake
"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).
https://github.com/davidai2024/kd-quake
bs4 earthquake-data earthquake-visualization earthquakes ingv ingv-data python research science telegram telegram-bot terremoti terremoto web-scraping
Last synced: over 1 year ago
JSON representation
"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).
- Host: GitHub
- URL: https://github.com/davidai2024/kd-quake
- Owner: DavidAI2024
- Created: 2024-03-07T00:33:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-07T00:58:23.000Z (over 2 years ago)
- Last Synced: 2025-01-17T09:31:44.009Z (over 1 year ago)
- Topics: bs4, earthquake-data, earthquake-visualization, earthquakes, ingv, ingv-data, python, research, science, telegram, telegram-bot, terremoti, terremoto, web-scraping
- Language: Python
- Homepage: http://t.me/KDTOOLS
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#
KD QUAKE
| 🧋To access the bot [click here](http://t.me/KDQUAKEBOT). |
|------------------------------------------------------------|
| **Thanks for the support!**.|
## Features
- **Earthquake Data Display:**
- The `/start` command shows a main menu with options to view earthquake data.
- Options include displaying all recorded earthquakes, the latest earthquake, and the most intense earthquake recorded.
- **Callback Handling:**
- KD-QUAKE manages inline button callbacks to display the geographical location of earthquakes.
- The location is shown on the map directly in the chat.
- **Earthquake Data Parsing:**
- Utilizes the BeautifulSoup library to extract data such as date, location, magnitude, depth, and geographic coordinates from INGV's HTML data.
- **User Interaction:**
- Provides a welcome message with a link to the "KDTOOLS" channel for support.
- Uses inline keyboards to allow users to select their desired options.
- **Menu State Logic:**
- Maintains a menu state for each user, allowing them to resume interactions where they left off.
## Usage
To use KD-QUAKE, follow these steps:
1. Start the bot by sending the `/start` command.
2. Choose from the available options in the main menu to explore earthquake data.
## Contributions
Contributions are welcome! Feel free to open issues or submit pull requests.
## License
This project is licensed under the [MIT License](LICENSE).
```
```