mirror of
https://github.com/allankoechke/pocketbase-cpp.git
synced 2026-12-01 01:18:25 +00:00
eb6f3d5fa88f283f5752f5a8d0fc5b70a3bef8a1
PocketBase C++ SDK in Qt
NON OFFICIAL & EXPERIMENTAL C++ SDK for interacting with the PocketBase Web API.
Work still in progress, many breaking changes without notice as we try to match the official SDKs. Contributions are highly welcome.
So far,
- Admin Service
- Records Service (partially)
- Collections Service
- File Service
Segments copied from the Dart SDK, will be updated later ...
Installation
Add the library to your dependencies:
git clone https://github.com/codeartstudios/pocketbase-cpp.git
Import it in your C++ code:
#include "client.h"
auto pb = PocketBase('http://127.0.0.1:8090');
...
// authenticate as regular user
QJsonObject userData = pb.collection('users').authWithPassword('test@example.com', '123456');
// and much more...
More detailed API docs and copy-paste examples could be found in the API documentation for each service or in the Services section below.
Description
Languages
C++
97.5%
CMake
2.5%