Skip to content

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

DavidAI2024/KD-QUAKE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

KD QUAKE

🧋To access the bot click here.
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.

About

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

Topics

Resources

Stars

Watchers

Forks

Languages