TinkoffInvestSDK
investapiclient.h
1 #ifndef TINKOFFSDK_H
2 #define TINKOFFSDK_H
3 
4 #include <grpcpp/grpcpp.h>
5 #include "sandbox.grpc.pb.h"
6 #include "customservice.h"
7 #include "tinkoffinvestsdk_export.h"
8 
9 using grpc::Channel;
10 using grpc::ClientContext;
11 using grpc::Status;
12 
21 class TINKOFFINVESTSDK_EXPORT InvestApiClient
22 {
23 
24 public:
25  InvestApiClient(const std::string &host, const std::string &pass);
26  ~InvestApiClient();
27 
29  std::shared_ptr<CustomService> service(const std::string &serviceName);
30 
31 private:
32  std::map<std::string, std::shared_ptr<CustomService>> m_services;
33 };
34 
35 #endif // TINKOFFSDK_H
36 
InvestApiClient
C++ клиент для Tinkoff invest API.
Definition: investapiclient.h:21