1.0.1 • Published 7 years ago
imverify v1.0.1
Akeed Online Image Verification API
AkeedOnlineImageVerificationApiV1 - JavaScript client for akeed_online_image_verification_api_v1 (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) This SDK is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: v1
- Build package: io.swagger.codegen.languages.JavascriptClientCodegen
Installation
For Node.js
npm
Install it via:
npm install imverify --save
Getting Started
Please follow the installation instruction and execute the following JS code:
var AkeedOnlineImageVerificationApiV1 = require('imverify');
var api = new AkeedOnlineImageVerificationApiV1.AuthApi()
var grantType = "password"; // {String} Supported grant types : \"password\"
var username = "username@example.com"; // {String} Username as registered in the system
var password = "p@ssword"; // {String} User's password
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.tokenPost(grantType, username, password, callback);
Documentation for API Endpoints
All URIs are relative to http://akeed.info/beta
Class | Method | HTTP request | Description |
---|---|---|---|
AkeedOnlineImageVerificationApiV1.AuthApi | tokenPost | POST /token | Generate access token |
AkeedOnlineImageVerificationApiV1.FileApi | fileIndex | GET /api/File | Get a file with specific id |
AkeedOnlineImageVerificationApiV1.ResultApi | resultGet | GET /api/Result/{id} | Get the processing result for submited request |
AkeedOnlineImageVerificationApiV1.VerificationApi | verificationSubmit | POST /api/Verification | Submit a file to verify |
Documentation for Models
- AkeedOnlineImageVerificationApiV1.KeyValuePairStringString
- AkeedOnlineImageVerificationApiV1.RequstAcceptedModel
- AkeedOnlineImageVerificationApiV1.TestResultAPIModel
- AkeedOnlineImageVerificationApiV1.TokenInfo
- AkeedOnlineImageVerificationApiV1.VerificationResultAPIModel
Documentation for Authorization
All endpoints do not require authorization.