kinto-http-java

A Java client for the Kinto json store

License

License

Categories

Categories

Java Languages
GroupId

GroupId

com.intesens
ArtifactId

ArtifactId

kinto-http-java
Last Version

Last Version

0.2.2
Release Date

Release Date

Type

Type

jar
Description

Description

kinto-http-java
A Java client for the Kinto json store
Project URL

Project URL

https://github.com/intesens/kinto-http-java
Source Code Management

Source Code Management

https://github.com/intesens/kinto-http-java

Download kinto-http-java

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
com.mashape.unirest : unirest-java jar 1.4.9

test (5)

Group / Artifact Type Version
junit : junit jar 4.12
commons-io : commons-io jar 2.4
org.mockito : mockito-core jar 1.10.19
org.powermock : powermock-api-mockito jar 1.6.5
org.powermock : powermock-module-junit4 jar 1.6.5

Project Modules

There are no modules declared in this project.

Build Status Maven Central Dependency Status

Kinto java client

A Java HTTP Client for the Kinto API.

Based of the Python library kinto-http.py and its JavaScript equivalent kinto-http.js.

Usage

  1. The library is published on maven central, just add the following to your pom.xml:

    <dependency>
        <groupId>com.intesens</groupId>
        <artifactId>kinto-http-java</artifactId>
        <version>0.2.2</version>
    </dependency>
  2. Create an instance of KintoClient, several constructors are available (see javadoc)

  3. Auth to kinto is only supported via headers at the moment:

    Map<String, String> headers = new HashMap<String, String>();
    headers.put("Authorization", "Basic <token>");
    headers.put("Accept", "application/json");
    headers.put("Content-Type", "application/json");
    
    KintoClient kintoClient = new KintoClient("https://module-type-repo.herokuapp.com/v1", headers);

Contributing

Contribution is open to all.

Intesens team will review the PRs but if you wish to take a leading role in the project, get in touch with us (opensource, intesens, com)

com.intesens

Intesens

Versions

Version
0.2.2
0.2.1