Vscale API is a C++ client library for accessing the Vscale API.
$ cmake CMakeLists.txt
$ make install#include <vscale/vscale.h>
#include <iostream>
int main() {
try {
Json::Value response;
vscale::Scalets("token").List(response);
std::cout << response.toStyledString() << std::endl;
} catch (vscale::BadRequest &e) {
std::cout << e.what() << std::endl;
}
return 0;
}$ g++ -std=c++11 -Wall main.cpp -lvscale -ljsoncpp -o vscale-test