An open API service indexing awesome lists of open source software.

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).

Awesome Lists containing this project

README

          

# KD QUAKE

| 🧋To access the bot [click here](http://t.me/KDQUAKEBOT). |
|------------------------------------------------------------|
| **Thanks for the support!**.|


Python Version
License
pyTelegramBotAPI Version
Requests Version
BeautifulSoup4 Version

## 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).
```
```