/earthquake

a simple earthquake bot

Primary LanguagePython

Overview

This Python script tracks recent earthquakes using data from the Afad Earthquake Database. It retrieves earthquake information from the database and prints details about earthquakes with a magnitude greater than 2 on the Richter scale.

Prerequisites

To use this script, you need to have Python installed on your system. You also need to install the following libraries:

  • requests
  • beautifulsoup4

You can install these libraries using pip:

pip install requests
pip install beautifulsoup4

Usage

  1. Clone the repository to your local machine or download the earthquake.py script.
  2. Navigate to the directory where the script is located.
  3. Run the script using Python:
python earthquake.py

The script will continuously track earthquakes and print information about earthquakes with a magnitude greater than 2.