1.0.1 • Published 7 years ago

imverify v1.0.1

Weekly downloads
-
License
Unlicense
Repository
-
Last release
7 years ago

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

ClassMethodHTTP requestDescription
AkeedOnlineImageVerificationApiV1.AuthApitokenPostPOST /tokenGenerate access token
AkeedOnlineImageVerificationApiV1.FileApifileIndexGET /api/FileGet a file with specific id
AkeedOnlineImageVerificationApiV1.ResultApiresultGetGET /api/Result/{id}Get the processing result for submited request
AkeedOnlineImageVerificationApiV1.VerificationApiverificationSubmitPOST /api/VerificationSubmit a file to verify

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.