birdie 0.1.0

Birdie is a third party Binance API client, allowing you to easily interact with the Binance API using Rust.
Documentation
mod get_cross_margin_transfer_history;
mod query_max_transfer_out_amount;

pub use get_cross_margin_transfer_history::*;
pub use query_max_transfer_out_amount::*;

use crate::rest_api::{route, RestApiClient};

pub struct RestApiHandler<'r> {
    client: &'r RestApiClient,
}

impl<'r> RestApiHandler<'r> {
    pub fn new(client: &'r RestApiClient) -> Self {
        RestApiHandler { client }
    }

    route!(
        get_cross_margin_transfer_history,
        GetCrossMarginTransferHistoryEndpoint
    );
    route!(
        query_max_transfer_out_amount,
        QueryMaxTransferOutAmountEndpoint
    );
}