The Kyte C++ Client Library is designed to facilitate communication between your applications and the Kyte backend API, offering a robust and efficient way to manage API calls.
- Easy-to-use API: Simplified methods for making HTTP GET, POST, PUT, and DELETE requests.
- Secure Communication: Integrated handling of encryption and secure connections.
- Cross-Platform: Compatible with various operating systems including Linux, macOS, and Windows.
Ensure you have the following installed on your system:
- C++ compiler (GCC or Clang)
- CMake
- libcurl
- OpenSSL
To build the Kyte C++ Client Library, follow these steps:
-
Clone the repository:
git clone https://github.com/keyqcloud/kyte-cpp.git cd kyte-cpp -
Build the project using CMake:
mkdir build && cd build cmake .. make
This will compile the library and any associated executables into the build directory.
Here is a simple example of how to use the library to make API calls:
#include "kyte/Client.hpp"
int main() {
kyte::Client client("your_public_key", "your_private_key", "your_kyte_account",
"your_kyte_identifier", "https://api.kyte.io");
std::string response = client.get("testModel");
std::cout << "API Response: " << response << std::endl;
return 0;
}For more detailed documentation on API methods and parameters, refer to the docs directory.
Contributions to the Kyte C++ Client Library are welcome! Please refer to the CONTRIBUTING.md file for guidelines on how to make contributions.
This project is licensed under the MIT License - see the LICENSE file for details.