khipu-chaski-api-client

A java wrapper for the khipu chaski API

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

com.khipu
ArtifactId

ArtifactId

khipu-chaski-api-client
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

khipu-chaski-api-client
A java wrapper for the khipu chaski API
Project URL

Project URL

https://github.com/khipu/khipu-chaski-api-java-client
Source Code Management

Source Code Management

https://github.com/khipu/khipu-chaski-api-java-client

Download khipu-chaski-api-client

How to add to project

<!-- https://jarcasting.com/artifacts/com.khipu/khipu-chaski-api-client/ -->
<dependency>
    <groupId>com.khipu</groupId>
    <artifactId>khipu-chaski-api-client</artifactId>
    <version>1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.khipu/khipu-chaski-api-client/
implementation 'com.khipu:khipu-chaski-api-client:1.1.1'
// https://jarcasting.com/artifacts/com.khipu/khipu-chaski-api-client/
implementation ("com.khipu:khipu-chaski-api-client:1.1.1")
'com.khipu:khipu-chaski-api-client:jar:1.1.1'
<dependency org="com.khipu" name="khipu-chaski-api-client" rev="1.1.1">
  <artifact name="khipu-chaski-api-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.khipu', module='khipu-chaski-api-client', version='1.1.1')
)
libraryDependencies += "com.khipu" % "khipu-chaski-api-client" % "1.1.1"
[com.khipu/khipu-chaski-api-client "1.1.1"]

Dependencies

compile (7)

Group / Artifact Type Version
io.swagger : swagger-annotations jar 1.5.4
org.glassfish.jersey.core : jersey-client jar 2.25.1
org.glassfish.jersey.media : jersey-media-multipart jar 2.25.1
com.fasterxml.jackson.core : jackson-core jar 2.9.6
com.fasterxml.jackson.core : jackson-annotations jar 2.9.6
com.fasterxml.jackson.core : jackson-databind jar 2.9.6
com.fasterxml.jackson.datatype : jackson-datatype-joda jar 2.9.6

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Installation

Add maven dependency: com.khipu:khipu-chaski-api-client:1.0.0

Usage

Basic usage

package test;

import com.khipu.chaski.api.client.PushNotificationsApi;
import com.khipu.chaski.api.model.SuccessResponse;
import com.khipu.chaski.api.model.Message;
import com.khipu.ApiClient;
import com.khipu.ApiException;


public class Test {
    public static void main(String[] args) throws ApiException {
        ApiClient client = new ApiClient();
        client.setKhipuCredentials(1234L, "abcd123");
        PushNotificationsApi notificationsApi = new PushNotificationsApi();
        notificationsApi.setApiClient(client);
        Message message = new Message();
        message.getRecipientIdSet().add("recipient");
        message.setSubject("subject");
        message.setBody("Hello!!!");
        SuccessResponse respose = notificationsApi.sendMessage(message);
        System.out.println(respose.getMessage());
    }
}
com.khipu

khipu

Versions

Version
1.1.1
1.1.0
1.0.9
1.0.5
1.0.4
1.0.3
1.0.0