Respoke Java Library

Java serverside library for the Respoke REST API

Лицензия

Лицензия

Категории

Категории

Java Языки программирования
Группа

Группа

com.digium.respoke
Идентификатор

Идентификатор

respoke-java
Последняя версия

Последняя версия

1.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Respoke Java Library
Java serverside library for the Respoke REST API
Ссылка на сайт

Ссылка на сайт

https://www.respoke.io/
Система контроля версий

Система контроля версий

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

Скачать respoke-java

Как подключить последнюю версию

<!-- 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"]

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
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)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
1.1.0
1.0.0