io.cortical:retina-service-client-build

cortical.io's java client - parent build project.

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

io.cortical
ArtifactId

ArtifactId

retina-service-client-build
Last Version

Last Version

2.2.1
Release Date

Release Date

Type

Type

pom
Description

Description

io.cortical:retina-service-client-build
cortical.io's java client - parent build project.

Download retina-service-client-build

How to add to project

<!-- https://jarcasting.com/artifacts/io.cortical/retina-service-client-build/ -->
<dependency>
    <groupId>io.cortical</groupId>
    <artifactId>retina-service-client-build</artifactId>
    <version>2.2.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/io.cortical/retina-service-client-build/
implementation 'io.cortical:retina-service-client-build:2.2.1'
// https://jarcasting.com/artifacts/io.cortical/retina-service-client-build/
implementation ("io.cortical:retina-service-client-build:2.2.1")
'io.cortical:retina-service-client-build:pom:2.2.1'
<dependency org="io.cortical" name="retina-service-client-build" rev="2.2.1">
  <artifact name="retina-service-client-build" type="pom" />
</dependency>
@Grapes(
@Grab(group='io.cortical', module='retina-service-client-build', version='2.2.1')
)
libraryDependencies += "io.cortical" % "retina-service-client-build" % "2.2.1"
[io.cortical/retina-service-client-build "2.2.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • ../retina-service-rest-model
  • ../retina-service-java-api-client
  • ../retina-service-java-client-example

[DEPRECATED] java-client-sdk

This library has been deprecated and no longer actively developed. It has been replaced by retina-api-java-sdk.

cortical.io

Welcome to the cortical.io Retina java client source code page.

Release Version: 2.2.1

This page contains

  • Introduction
  • Dependencies
  • Maven Repository
  • How to use
  • Change Log

Introduction

cortical.io's java client - a simple java http client which simplifies communication between any java application and the Retina server using the Retina's REST API. The source code is split into 4 Maven projects:

  • The parent build (retina-service-client-build)
  • The client (retina-service-java-api-client)
  • The REST model (retina-service-rest-model)
  • An example project (retina-service-java-client-example)

Dependencies

cortical.io's Retina java client is compatible with Java version: 1.7. See the respective pom files for each project for details regarding dependencies.

Compatible with all 2.x.x versions of cortical.io's api.

To use the API you will need to obtain an api key.

Maven Repository

If you just need the JAR file, this can be downloaded directly from the Sonatype Central Repository directly or by adding the dependency to a Maven pom:

<dependency>
    <groupId>io.cortical</groupId>
    <artifactId>retina-service-java-api-client</artifactId>
    <version>2.2.1</version>
</dependency>

How to use/build

  • You will need to have Maven 3.x installed.
  • Clone all the sources from our Github repository.
  • Navigate to the parent directory (retina-service-client-build) and build the project by typing on the command line: mvn clean install
    • The jar file produced by the client api project (found in the target directory) can then be imported into any project (e.g. the example project).
    • To import the JAR into an existing Maven project, see the below code example:
<dependency>
    <groupId>io.cortical</groupId>
    <artifactId>retina-service-java-api-client</artifactId>
    <version>2.2.1</version>
</dependency>
  • For non-Maven projects you need to use the retina-service-java-api-client-jar-with-dependencies.jar (e.g. when directly calling the java client).

  • For examples of usage please see:

    • The unit tests included with the client project
    • The example project

For further documentation about the Retina-API and information on cortical.io's 'Retina' technology please see: http://www.cortical.io/resources_tutorials.html

If you have any questions or problems please visit our forum: http://www.cortical.io/resources_forum.html

Change Log

v 2.2.1

  • Update build process for Maven Central Repo.

v 2.2.0

  • new Classfiy api with /classify/create_category_filter
  • new /text/detect_language endpoint
  • new /compare/bulk endpoint

v 2.1.0

  • initial release
io.cortical

cortical-io

Versions

Version
2.2.1