We are excited to announce the release
of ReductStore Client SDK for C++ v1.2.0! This release
includes updated
documentation after we renamed the project from “Reduct Storage” to “ReductStore”, and supports ReductStore HTTP API
1.2.0 with the endpoint GET /api/v1/me
.
One of the useful features of the ReductStore Client SDK is the ability to retrieve information about the authenticated
user using the IClient::Me method
. Here is an example of how to use this method:
#include <reduct/client.h>
#include <iostream>
using reduct::IBucket;
using reduct::IClient;
int main() {
auto client = IClient::Build("https://play.reduct.store", {.api_token="my-token"});
auto [token_info, err] = client->Me();
if (err) {
std::cerr << err << std::endl;
return 1;
}
std::cout << token_info.full_access << std::endl;
return 0;
}
We hope you find the ReductStore Client SDK for C++ v1.2.0 useful in your projects! Let us know if you have any questions or feedback, don’t hesitate to reach out in Discord or by opening a discussion on GitHub.
#News #Sdks #TutorialsReductStore v1.7.0 has been released with provisioning and batch writing
#NewsReductStore vs. MinIO & InfluxDB on LTE Network: Who Really Wins the Speed Race?
#Comparison #IotReductStore 1.6.0 has been released with new license and client SDK for Rust
#NewsTutorials (15) Computer-vision (4) Sdks (11) News (20) Cli (5) Iot (3) Comparisons (1) Edge-computing (2) Advice (1) Database (1) Comparison (1) Ai (1)