Skip to content

robinpowered/robin-java-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robin Java SDK

Robin SDK CI

This README is a work in progress.

Full API documentation is available at docs.robinpowered.com.

View the Javadoc

Download

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'
}

Compile locally

mvn clean package

Locally compiled .jar file will be placed in the target directory.

Getting Started

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();

License

   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.

About

Official Robin Java SDK

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 5

Languages