This is the official CPP example for the unencrypted and encrypted APIs of https://intertwined.solutions.
Constructing the class
- Appid - Found in the dashboard
- EncKey - Found in the dashboard
- Ver - The version to upload to check against the stored version
- ForceHash (optional) - Force the hash to be checked
- Hash (optional) - The hash to upload to check against the stored hash
- Encrypted (optional) - Force the client to connect to the encrypted API
Class functions
- Init - Calls Init in the API.
- Login - Validates user information using a username and password, which will validate the session.
- LoginLicese - Validates a license, which will validate the session.
- Register - Registers a user with a username and password with a provided license
- Webhook - Calls a webhook with a provided ID. If configured, it will require a valid session.
- GetVariable - Gets a server-stored variable with a provided ID. If configured, it will require a valid session.
- Close - Closes the session created when calling Init.
- GetLastError - Gets the last error provided by the latest called function, which failed.
Copyright (c) 2023 Jacob Gluska/UntitledEntity
This project is licensed under the GNU Affero General Public License v3.0 - see the LICENSE file for details.