Skip to main content
Version: Next

Obtain SDKs for your desired language.

PyPI - Downloads RubyGems Downloads Packagist Downloads Go Reference NuGet NPM Downloads Maven Central Pub.dev Crates.io

You can obtain SDKs for various languages by means of the methods below:

Source Code

You can find the source code of the SDKs from the repositories below:

All SDKs Go SDK PHP SDK

Distribution Platforms

Our Comms SDKs are available from various distribution platforms, listed below.

Java/Kotlin (sonatype.org)

Maven Central

Distributed here via Maven or Gradle. Use these configurations:

Add this to your Maven pom.xml:

pom.xml
<dependency>
<groupId>com.pahappa.systems</groupId>
<artifactId>comms-sdk</artifactId>
<version>1.1.0</version>
</dependency>

Then run mvn install.


Rust (crates.io)

Crates.io

Breaking changes in 1.1.0
  • CommsSDK::authenticate now returns Result<CommsSDK, Error> instead of CommsSDK directly — it no longer panics on a failed credential check, so callers need to handle (or propagate with ?) the Result.
  • send_sms_full/query_send_sms_full now take sender_id: Option<&str> and priority: Option<MessagePriority> instead of required, non-Option values — pass None to fall back to the default, or wrap existing values in Some(...). Check this for more info.

Simply run cargo:

cargo add comms_sdk

or edit Cargo.toml:

Cargo.toml
[dependencies]
comms_sdk = "1.1.0"
# or
comms_sdk = { version = "1.1.0" }

Python (pypi.org)

PyPI - Downloads

Use pip to install the dependency:

pip install comms-sdk

C# (nuget)

NuGet

Add this to your .csproj file:

YourProject.csproj
<ItemGroup>
<PackageReference Include="CommsSdk" Version="1.1.0" />
</ItemGroup>

Or install via the .NET CLI:

dotnet add package CommsSdk --version 1.1.0

Go (pkg.go.dev)

Go Reference

Breaking change in 1.1.0

QuerySendSMS is now the 2-argument convenience function (numbers, message), matching SendSMS. The old 4-argument signature (numbers, message, senderId, priority) is now QuerySendSMSFull — update existing calls accordingly.

Use go get to add the SDK:

go get github.com/pahappa-ltd/comms-go-sdk@v1.1.0

In your go.mod:

require github.com/pahappa-ltd/comms-go-sdk v1.1.0

Dart (pub.dev)

Pub.dev

Install using pub or add to pubspec.yaml:

pubspec.yaml
dependencies:
comms_sdk: ^1.1.0

Then, run:

dart pub get

JavaScript/Node.js (npmjs.com)

NPM Downloads

Install using pnpm, npm or yarn:

Shell
pnpm install @pahappalimited/comms-sdk

PHP (packagist.org)

Packagist Downloads

Install via Composer:

composer require pahappa-limited/comms-sdk

Or add to your composer.json:

composer.json
{
"require": {
"pahappa-limited/comms-sdk": "1.1.0"
}
}

Ruby (rubygems.org)

RubyGems Downloads Gem Version

Install via RubyGems:

gem install comms_sdk

Or add to your Gemfile:

Gemfile
gem 'comms_sdk', '~> 1.1.0'