Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.47 KB

UserApi.md

File metadata and controls

54 lines (36 loc) · 1.47 KB

tinkoff_invest_api.api.UserApi

Load the API package

import 'package:tinkoff_invest_api/api.dart';

All URIs are relative to https://api-invest.tinkoff.ru/openapi

Method HTTP request Description
userAccountsGet get /user/accounts Получение брокерских счетов клиента

userAccountsGet

UserAccountsResponse userAccountsGet()

Получение брокерских счетов клиента

Example

import 'package:tinkoff_invest_api/api.dart';
// TODO Configure HTTP basic authorization: sso_auth
//defaultApiClient.getAuthentication<HttpBasicAuth>('sso_auth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('sso_auth').password = 'YOUR_PASSWORD';

var api_instance = new UserApi();

try { 
    var result = api_instance.userAccountsGet();
    print(result);
} catch (e) {
    print('Exception when calling UserApi->userAccountsGet: $e\n');
}

Parameters

This endpoint does not need any parameter.

Return type

UserAccountsResponse

Authorization

sso_auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]