2026-05-08 17:12:59 -05:00 | | |
|
| | | #include "..\\Src\\C++\\tbp_api_warper_cpp\\Base.hpp"
|
| | | #include <thread>
|
| | | #include <chrono>
|
| | |
|
| | | int main()
|
| | | {
|
| | | TSN::CTbpBase tbp;
|
2026-05-09 12:06:57 -05:00 | | | tbp.ApyKey("YOUR_API_KEY");
|
2026-05-08 17:12:59 -05:00 | | | tbp.GetHttpClient()->Timeout(5000);
|
| | | if (tbp.GetAllClients())
|
| | | {
|
| | | simdjson::ondemand::document* doc = tbp.GetLastJson();
|
| | | std::string_view v;
|
| | | doc->raw_json().get(v);
|
| | |
|
| | | FastLog(FUNC_NAME, TSN::INFO_TEXT, v);
|
| | | }
|
| | |
|
| | | std::this_thread::sleep_for(std::chrono::seconds(2));
|
| | |
|
| | | return 0;
|
| | | }
|