Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.06 KB

README.md

File metadata and controls

53 lines (36 loc) · 1.06 KB

Takipi SDK

Deploying

To use, add the following repository to your maven pom.xml...

<repositories>
    <repository>
        <id>bintray-takipi-maven</id>
        <url>https://dl.bintray.com/takipi/maven</url>
    </repository>
</repositories>

Then, add the Takipi SDK dependency...

<dependency>
    <groupId>com.takipi</groupId>
    <artifactId>takipi-sdk</artifactId>
    <version>0.2.0</version>
</dependency>

Additional information can be found here https://bintray.com/takipi/maven/takipi-sdk

Integrating

The SDK can be used to create custom events inside your application. See the sample Java code below:

import com.takipi.sdk.v1.api.Takipi;
import com.takipi.sdk.v1.api.core.events.TakipiEvent;

public class CustomEventExample {

    private static final Takipi takipi = Takipi.create("CUSTOM_EVENT_EXAMPLE");

    public void doSomethingImportant() {

        TakipiEvent customEvent = takipi.events().createEvent("Important Custom Event");

        customEvent.fire();

    }
}

Building

To build:

  • mvn clean package