Crates.io | coinpaprika-api |
lib.rs | coinpaprika-api |
version | 0.1.0 |
source | src |
created_at | 2022-10-20 12:49:49.376692 |
updated_at | 2022-10-20 12:49:49.376692 |
description | Coinpaprika API Rust library provides access to Coinpaprika API for applications written in Rust programming language. |
homepage | |
repository | https://github.com/tokenomia-pro/coinpaprika-api-rust-client |
max_upload_size | |
id | 692434 |
size | 117,840 |
Coinpaprika API Rust library provides access to Coinpaprika API for applications written in Rust programming language.
Coinpaprika API delivers precise & frequently updated market data from the world of crypto: coin prices, volumes, market caps, ATHs, return rates and more.
Put this in your Cargo.toml:
[dependencies]
coinpaprika_api = "0.1"
Then you can use it like this:
use coinpaprika_api::client::Client;
use coinpaprika_api::global::Global;
use std::error::Error;
#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
let client = Client::new();
let global: Global = client.global().send().await?;
println!("global: {:#?}", global);
Ok(())
}
We include examples for each section of the API, located in /examples
folder.
Key
Global
Coins
People
Tags
Tickers
Exchanges
Tools
Contracts
Changelog
Beta
List sentiment coins
Get sentiment data for a specific coin
Get historical sentiment data for a specific coin
CoinpaprikaAPI Rust client is available under the MIT license. See the LICENSE file for more info.