7 releases
0.2.3 | Jun 26, 2023 |
---|---|
0.2.2 | Mar 7, 2023 |
0.2.1 | Jan 11, 2023 |
0.2.0 | Nov 12, 2022 |
0.1.2 | Feb 17, 2022 |
#1157 in Network programming
21 downloads per month
4MB
7K
SLoC
tinkoff-invest-rust
gRPC Клиент для Тинькофф Инвестиций (протокол v2)
Example
First you need to install:
[dependencies]
tinkoff-invest-api = { version = "0.2" }
Then, on your main.rs:
let service = TinkoffInvestService::new("my_token".to_string());
let channel = service.create_channel().await?;
let mut users = service.users(channel).await?;
let accounts = users
.get_accounts(tonic::Request::new(
tinkoff_invest_rust::tcs::GetAccountsRequest {},
))
.await?;
println!("Response {:?}", accounts);
License
This project is licensed under the MIT license.
Dependencies
~14–26MB
~453K SLoC