Skip to content

Подключение к Sandbox endpoint #48

Closed
somescout opened this issue Dec 23, 2022 · 1 comment
Closed

Подключение к Sandbox endpoint #48

somescout opened this issue Dec 23, 2022 · 1 comment

Comments

@somescout
Copy link

В настройках клиента нет возможности указать адрес endpoint'а и, соответственно, нет возможности нормально работать с песочницей. Можно ли добавить в конфигурацию AddInvestApiClient возможность указать адрес endpoint'а?

rus-art pushed a commit that referenced this issue Dec 23, 2022
rus-art pushed a commit that referenced this issue Dec 23, 2022
#48 Added Sandbox option to InvestApiClientFactory
@rus-art
Copy link
Contributor

rus-art commented Dec 23, 2022

Добавил опцию для работы с песочницей

InvestApiClientFactory.Create(accessToken, sandbox: true);

или

InvestApiClientFactory.Create(new InvestApiSettings { AccessToken = accessToken, Sandbox = true });

@rus-art rus-art closed this as completed Dec 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants