Respoke Java Library

Java serverside library for the Respoke REST API

License

License

Categories

Categories

Java Languages
GroupId

GroupId

com.digium.respoke
ArtifactId

ArtifactId

respoke-java
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Respoke Java Library
Java serverside library for the Respoke REST API
Project URL

Project URL

https://www.respoke.io/
Source Code Management

Source Code Management

https://github.com/respoke/respoke-java

Download respoke-java

How to add to project

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

Dependencies

compile (6)

Group / Artifact Type Version
org.apache.httpcomponents : httpclient jar 4.3.6
org.apache.httpcomponents : httpasyncclient jar 4.0.2
org.projectlombok : lombok jar 1.16.4
org.json : json jar 20140107
org.apache.httpcomponents : httpmime jar 4.3.6
com.mashape.unirest : unirest-java jar 1.4.5

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Respoke Java Library

Build Status

Respoke Java is the officially supported Java library for Respoke.

With Respoke, you can add live voice, video, text and data features to your website or mobile app. Check out our Guides to get started using Respoke and Respoke Java now.

Please validate you have Java 7 or greater installed.

Installation

Install Respoke's Java Library to your project using Maven.

<dependency>
    <groupId>com.digium.respoke</groupId>
    <artifactId>respoke-java</artifactId>
    <version>1.1.0</version>
</dependency>

Install Respoke's Java Library to your project using Gradle.

dependencies {
    compile "com.digium.respoke:respoke-java:1.1.0"
}

Running the library

To use the library, sign up for a FREE Respoke account.

import com.digium.respoke.*;

Respoke client = new Respoke(new HashMap<String, String>() {{
    put("appId", "APP_ID");
    put("appSecret","APP_SECRET");
    put("roleId", "ROLE_ID");
    put("endpointId", "USER_NAME");
}});

String tokenId = client.getTokenId();

Return this tokenId to your front-end and pass it to the token property when connecting to Respoke.

Building from source & Running Tests

To build the project from source.

./gradlew build

To run the tests from source.

./gradlew check

To upload to the maven central respository.

./gradlew -b maven.gradle gradle -b maven.gradle uploadArchives

Then close and release the library.

Contributing

If you wish to submit an issue use the issue tracker.

  1. Fork it ( https://github.com/[my-github-username]/respoke-java/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -a -m 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

License

This source code is licensed under The MIT License.

com.digium.respoke

Respoke

Respoke makes it easy for web and mobile developers to add live voice, video, messaging, and data features to their websites and apps

Versions

Version
1.1.0
1.0.0