#crypto #api #api-client #index #greed #fear

fng_api_wrapper

Crypto Fear and Greed API wrapper

3 stable releases

1.0.2 Feb 3, 2025
1.0.1 Apr 16, 2023
1.0.0 Apr 10, 2023

#638 in Cryptography

Download history 2/week @ 2024-12-10 57/week @ 2025-01-28 66/week @ 2025-02-04

123 downloads per month

MIT license

10KB
84 lines

Crypto Fear and Greed API wrapper

fng-api-wrapper is a Rust API client for Crypto Fear & Greed Index.

The wrapper is incomplete and does not cover the entire API.
So far it only covers the endpoint https://api.alternative.me/fng/

Sample code

See sample implementation, or run it:

cargo run --example fetch_last_ten_days

Dependencies

~11–20MB
~365K SLoC