tinkoff-invest-rust

gRPC Клиент для Тинькофф Инвестиций (протокол v2)

Crates.io Documentation Crates.io

Example

First you need to install:

toml [dependencies] tinkoff-invest-rust = { version = "0.2" }

Then, on your main.rs:

```rust let service = TinkoffInvestService::new("mytoken".tostring()); let channel = service.create_channel().await?; let mut users = service.users(channel).await?;

let accounts = users .getaccounts(tonic::Request::new( tinkoffinvest_rust::tcs::GetAccountsRequest {}, )) .await?;

println!("Response {:?}", accounts); ```

License

This project is licensed under the MIT license.