Skip to content

This Python script fetches the current Fear and Greed Index from the Alternative.me API and displays the index value along with its classification.

Notifications You must be signed in to change notification settings

lukgart/crypto_fear_and_greed_index

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Fear and Greed Index Fetcher

This Python script retrieves and displays the current Fear and Greed Index from the Alternative.me API. The Fear and Greed Index is a popular indicator used to gauge the sentiment of the cryptocurrency market. The script fetches the data from a JSON endpoint, extracts the relevant information, and prints the Fear and Greed Index value along with its classification.

Features

  • Fetches the latest Fear and Greed Index data from the Alternative.me API.
  • Extracts and displays the current index value.
  • Shows the classification of the index value (e.g., Fear, Greed).

Usage

  1. Clone the repository:

    git clone https://github.com/lukgart/crypto_fear_and_greed_index.git
    cd fear-and-greed-index
  2. Run the script:

    python main.py

Example Output

Fear and Greed Index Value: 72
Classification: Greed

About

This Python script fetches the current Fear and Greed Index from the Alternative.me API and displays the index value along with its classification.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages