Installation Guide
- Java
- Python
- .NET
- PHP
Requirements
- Java 8+ (Java 11+ recommended)
- Maven or Gradle build system
Maven
<properties>
<kody.version>[VERSION]</kody.version>
<grpc.version>1.66.0</grpc.version>
<protobuf.version>4.27.3</protobuf.version>
</properties>
<dependencies>
<!-- KodyPay Client SDK -->
<dependency>
<groupId>com.kodypay.grpc</groupId>
<artifactId>kody-clientsdk-java</artifactId>
<version>${kody.version}</version>
</dependency>
<!-- gRPC dependencies (included automatically in Java 11+) -->
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty-shaded</artifactId>
<version>${grpc.version}</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
<version>${grpc.version}</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
<version>${grpc.version}</version>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>${protobuf.version}</version>
</dependency>
</dependencies>
Gradle
dependencies {
implementation("com.kodypay.grpc:kody-clientsdk-java:[VERSION]")
}
Check latest version on Maven Central
Requirements
- Python 3.7+
- pip package manager
Installation
pip install kody-clientsdk-python==<version>
This command automatically installs all necessary dependencies including grpcio
and grpcio-tools
.
Check latest version on PyPI
Requirements
- .NET 8.0+
- Visual Studio 2022 or .NET CLI
Install via Package Manager Console:
Install-Package kody-dotnet8-client -Version [VERSION]
Using .NET CLI:
dotnet add package kody-dotnet8-client --version [VERSION]
Add reference to your project:
<PackageReference Include="kody-dotnet8-client" Version="[VERSION]" />
Check latest version on NuGet
Requirements
- PHP 7.2 or later
- Composer
- gRPC PHP extension
Step 1: Add to your composer.json
:
{
"require": {
"kody/kody-php8-grpc-client": "[VERSION]"
},
"repositories": [
{
"type": "package",
"package": {
"name": "kody/kody-php8-grpc-client",
"version": "[VERSION]",
"dist": {
"type": "zip",
"url": "https://github.com/KodyPay/kody-clientsdk-php/releases/download/[VERSION]/kody-php8-grpc-package.zip"
}
}
}
]
}
Step 2: Install dependencies
composer install
Step 3: Install gRPC PHP Extension
macOS
pecl install grpc
Add to php.ini:
extension=grpc.so
Ubuntu
sudo pecl install grpc
Add to php.ini:
extension=grpc.so
Windows
- Download the gRPC DLL from PECL
- Place in PHP
ext
directory - Add to php.ini:
extension=php_grpc.dll
For more information, see PHP gRPC Extensions
Check the latest version: GitHub releases
Note: Replace version numbers with your desired versions. We recommend using the latest stable versions available on the respective package repositories.