robinpowered / robin-java-sdk

Official Robin Java SDK
https://docs.robinpowered.com
Apache License 2.0
4 stars 5 forks source link

Robin Java SDK

Build Status

This README is a work in progress.

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

View the Javadoc

Download

Using Maven:

<dependency>
  <groupId>com.robinpowered</groupId>
  <artifactId>robin-java-sdk</artifactId>
  <version>1.0.0</version>
</dependency>

or using Gradle:

compile 'com.robinpowered:robin-java-sdk:1.0.0'

Compile locally

mvn clean package

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

Snapshots

Snapshots are available from the sonatype snapshots repository

The jar is available for direct download here.

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.