This README is a work in progress.
Full API documentation is available at docs.robinpowered.com.
First, configure the repository in your pom.xml:
<repositories>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/robinpowered/robin-java-sdk</url>
</repository>
</repositories>Then, add the dependency:
<dependency>
<groupId>com.robinpowered</groupId>
<artifactId>robin-java-sdk</artifactId>
<version>1.1.0-SNAPSHOT</version>
</dependency>or using Gradle:
First, configure the repository in your build.gradle:
repositories {
maven {
url "https://maven.pkg.github.com/robinpowered/robin-java-sdk"
}
}Then, add the dependency:
dependencies {
implementation 'com.robinpowered:robin-java-sdk:1.1.0-SNAPSHOT'
}mvn clean package
Locally compiled .jar file will be placed in the target directory.
Using the Robin API requires an API access token, which can be generated by logging in a https://dashboard.robinpowered.com.
Once you have an access token, you can instantiate the RobinApi class to easily make API calls:
Credential credential = new AccessTokenCredential("my token");
RobinApi apiClient = new RobinApi(credential);
ApiResponse<List<Presence>> presence = apiClient.getService(PlacesService.class).getPresence(mySpaceId).getData(); Copyright 2015 Robin Powered, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.