coinpaprika-api

Crates.iocoinpaprika-api
lib.rscoinpaprika-api
version0.1.0
sourcesrc
created_at2022-10-20 12:49:49.376692
updated_at2022-10-20 12:49:49.376692
descriptionCoinpaprika API Rust library provides access to Coinpaprika API for applications written in Rust programming language.
homepage
repositoryhttps://github.com/tokenomia-pro/coinpaprika-api-rust-client
max_upload_size
id692434
size117,840
linked_list_allocator (github:rust-osdev:linked_list_allocator)

documentation

README

Coinpaprika API

Logo

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.

Usage

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.

Supported Endpoints

  • Key

    • Get API key info
  • Global

    • Get market overview data
  • Coins

    • List coins
    • Get coin by ID
    • Get Twitter timeline tweets for a coin
    • Get coin events by coin ID
    • Get exchanges by coin ID
    • Get markets by coin ID
    • Get OHLC for the last full day
    • Get historical OHLC
    • Get today OHLC
  • People

    • Get person by ID
  • Tags

    • List tags
    • Get tag by ID
  • Tickers

    • Get tickers for all active coins
    • Get ticker for a specific coin
    • Get historical ticks for a specific coin
  • Exchanges

    • List exchanges
    • Get exchange by ID
    • List an exchange markets
  • Tools

    • Search
    • Price converter
  • Contracts

    • List contracts platforms
    • Get all contract addressess for a given platform
    • Redirect to Ticker by contract address
    • Redirect to historical ticks by contract address
  • Changelog

    • Get id changelog for all coins
  • Beta

    • List sentiment coins

    • Get sentiment data for a specific coin

    • Get historical sentiment data for a specific coin

License

CoinpaprikaAPI Rust client is available under the MIT license. See the LICENSE file for more info.

Commit count: 36

cargo fmt