Crate cbadv

Source
Expand description

§cbadv, Coinbase Advanced API

cbadv provides the tools required to access the new Coinbase Advanced API. Coinbased Advanced API is the successor of the Coinbase Pro API which is now depreciated.

This crate is still a work-in-progress with additional optimizations and quality checking to come in future updates. Use it as your own discretion and be mindful that bugs most likely exist. I hold no responsibility for any issues that occur by using this software and welcome contributions.

Re-exports§

pub use tokio;

Modules§

apis
API Endpoints that are interact with via RestClient.
errors
Contains all errors produced by the crate.
models
Models returned by the API or used to request data from the API.
time
Time, easy to use timestamps, spans of time, etc
traits
Traits used to allow interfacing with advanced functionality for end-users.
types
Contains custom / shorthand types to simplify end-user code.

Macros§

debugln
Prints out a debug message, wraps println! macro.

Structs§

RestClient
Represents a REST Client for interacting with the Coinbase Advanced API.
RestClientBuilder
Builds a new REST Client (RestClient) that directly interacts with the Coinbase Advanced API.
WebSocketClient
A WebSocket Client used to interactive with the Coinbase Advanced API. Provides easy-access to subscribing and listening to the WebSocket.
WebSocketClientBuilder
Builds a new WebSocket Client (WebSocketClient) that directly interacts with the Coinbase Advanced API.

Attribute Macros§

tokio_main
Re-export tokio for use in the library. Marks async function to be executed by the selected runtime. This macro helps set up a Runtime without requiring the user to use Runtime or Builder directly.