This directory contains example implementations showcasing various scenarios where the library's features can be used.
You can compile all examples by following these steps:
-
Fix your credentials in the example you want to use. In
runfunction:const boost::json::object accountCredentials = { {"accountId", "<your accountId>"}, {"password", "<your password>"}, {"accountType", "demo"} // If you are using real account, replace with "real" };
-
In examples directory create a
builddirectory and navigate into it:mkdir build cd build -
Run CMake to configure and build the project:
cmake .. cmake --build . -
Binaries will be stored in
bindirectory. Run example app that you want (f.e. RetrieveStreamSessionId)./bin/RetrieveStreamSessionId