New api from upstream

This commit is contained in:
Guilherme Werner
2024-01-01 15:42:12 -03:00
parent 67b1d41f22
commit b2f1d3bef9
9 changed files with 198 additions and 18 deletions

View File

@ -9,7 +9,7 @@ using namespace tribufu;
int main(int argc, char **argv)
{
auto client = new TribufuClient(0, "client_secret");
std::cout << "client_id: " << client->get_id() << std::endl;
std::cout << "client_id: " << client->get_client_id() << std::endl;
json json_obj = {
{"nome", "John"},
@ -20,7 +20,7 @@ int main(int argc, char **argv)
std::cout << json_str << std::endl;
client->get_token();
//client->get_token();
return 0;
}