8 releases
0.3.0 | Jun 6, 2024 |
---|---|
0.2.3 | Jun 26, 2023 |
0.2.2 | Mar 7, 2023 |
0.2.1 | Jan 11, 2023 |
0.1.2 | Feb 17, 2022 |
#1666 in Network programming
481 downloads per month
5.5MB
9K
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
~13–24MB
~431K SLoC