Web application : https://idcheck.io
Mashape REST API : https://market.mashape.com/ariadnext/idcheck-io-api
Swagger REST API : https://api.idcheck.io/swagger/#/
Building the API client library requires Maven to be installed.
You have to add this Nexus url on your project :
https://repoman.rennes.ariadnext.com/content/repositories/com.ariadnext.idcheckio
Credentials
To get your credentials, contact us by email with your all needs at: [email protected] You will receive two sets of credentials: one for test purpose only and on for production.
Platforms
Three platforms can be targeted with the library:
Platform | API URL | Credentials | Purpose | Restriction | Cost |
---|---|---|---|---|---|
SANDBOX | https://sandbox.idcheck.io/rest | Test | Dev integration + automated tests | Only a fix set of images are supported | Free |
TEST | https://api-test.idcheck.io/rest | Test | Functional tests / Idcheck.io evaluation | No SLA | Commercial agreement |
PROD | https://api.idcheck.io/rest | Prod | Production service | None | Commercial agreement |
To install the API client library to your local Maven repository, simply execute:
mvn install
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn deploy
Refer to the official documentation for more information.
Add this dependency to your project's POM:
<dependency>
<groupId>com.ariadnext.idcheckio</groupId>
<artifactId>idcheckio-java-client</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
Add this dependency to your project's build file:
compile "com.ariadnext.idcheckio:idcheckio-java-client:1.0.0"
At first generate the JAR by executing:
mvn package
Then manually install the following JARs:
- target/idcheckio-java-client-1.0.0.jar
- target/lib/*.jar
Please follow the installation instruction and execute the following Java code:
import com.ariadnext.idcheckio.invoker.*;
import com.ariadnext.idcheckio.invoker.auth.*;
import com.ariadnext.idcheckio.invoker.model.*;
import com.ariadnext.idcheckio.api.AdministrationApi;
import java.io.File;
import java.util.*;
public class AdministrationApiExample {
public static void main(String[] args) {
AdministrationApi apiInstance = new AdministrationApi();
try {
HealthResponse result = apiInstance.getHealth();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AdministrationApi#getHealth");
e.printStackTrace();
}
}
}
All URIs are relative to https://localhost/rest
Class | Method | HTTP request | Description |
---|---|---|---|
AdministrationApi | getHealth | GET /v0/admin/health | HTTP GET health |
AdministrationApi | getUser | GET /v0/admin/user | HTTP GET user |
AnalysisApi | getReport | GET /v0/pdfreport/{analysisRefUid} | HTTP GET report (demo) |
AnalysisApi | getResult | GET /v0/result/{analysisRefUid} | HTTP GET result |
AnalysisApi | getTask | GET /v0/task/{analysisRefUid} | HTTP GET task |
AnalysisApi | postImage | POST /v0/task/image | HTTP POST task image |
AnalysisApi | postMrz | POST /v0/task/mrz | HTTP POST task mrz |
SandboxApi | getImage | GET /v0/sandbox/image/{imageUid} | HTTP GET image |
SandboxApi | getImageList | GET /v0/sandbox/imagelist | HTTP GET images list |
SandboxApi | getMrz | GET /v0/sandbox/mrz/{mrzUid} | HTTP GET mrz |
SandboxApi | getMrzList | GET /v0/sandbox/mrzlist | HTTP GET mrz list |
- CheckSummaryOfTheSubmittedDocument
- ClassificationOfTheSubmittedDocument
- Control
- ControlGroup
- DetailedInformationOfTheHolderOfTheSubmittedDocument
- DetailedInformationOfTheSubmittedDocument
- ErrorResponse
- EventDate
- ExtractedImage
- GenericData
- HealthResponse
- Image
- ImageIndicator
- ImageListResponse
- ImageRequest
- Mrz
- MrzListResponse
- MrzRequest
- MrzResponse
- ReportResponse
- ResultResponse
- TaskResponse
- UserResponse
Authentication schemes defined for the API:
- Type: HTTP basic authentication
It's recommended to create an instance of ApiClient
per thread in a multithreaded environment to avoid any potential issue.