From 13236a452cadd0165843e659751b3f579712edc5 Mon Sep 17 00:00:00 2001 From: Martin Kersner Date: Sun, 20 Oct 2024 13:58:30 +0900 Subject: [PATCH] chore: cleanup readme --- README.md | 10 ---------- README.tpl | 1 + 2 files changed, 1 insertion(+), 10 deletions(-) create mode 100644 README.tpl diff --git a/README.md b/README.md index cc9ecc8..79b8936 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -# datamaxi - ## DataMaxi+ Rust SDK This is the official implementation of Rust SDK for [DataMaxi+](https://datamaxiplus.com/). @@ -34,8 +32,6 @@ You can get the API key upon registering at . #### CEX Candle ```rust -use datamaxi; - let api_key = "my_api_key".to_string(); let candle: datamaxi::cex::Candle = datamaxi::api::Datamaxi::new(api_key); @@ -57,8 +53,6 @@ candle.get("binance", "ETH-USDT", candle_options); #### DEX Candle ```rust -use datamaxi; - let api_key = "my_api_key".to_string(); let candle: datamaxi::dex::Candle = datamaxi::api::Datamaxi::new(api_key); @@ -88,8 +82,6 @@ candle.get( #### DEX Trade ```rust -use datamaxi; - let api_key = "my_api_key".to_string(); let trade: datamaxi::dex::Trade = datamaxi::api::Datamaxi::new(api_key); @@ -126,5 +118,3 @@ If you discover a bug in this project, please feel free to open an issue to disc ### License [MIT License](./LICENSE) - -License: MIT diff --git a/README.tpl b/README.tpl new file mode 100644 index 0000000..274bb44 --- /dev/null +++ b/README.tpl @@ -0,0 +1 @@ +{{readme}}