xtlas/tesseract-sdk

Welcome to the Tesseract API! You can use our API to access Tesseract's API endpoint(s), which can be used interact with Tesseract programmatically.

dev-master 2020-01-05 10:54 UTC

This package is not auto-updated.

Last update: 2024-11-05 09:53:16 UTC


README

Welcome to the Tesseract API! You can use our API to access Tesseract's API endpoint(s), which can be used interact with Tesseract programmatically.

This PHP package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Build package: org.openapitools.codegen.languages.PhpClientCodegen

Requirements

PHP 5.5 and later

Installation & Usage

Composer

To install the bindings via Composer, add the following to composer.json:

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
    }
  ],
  "require": {
    "GIT_USER_ID/GIT_REPO_ID": "*@dev"
  }
}

Then run composer install

Manual Installation

Download the files and include autoload.php:

    require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');

Tests

To run the unit tests:

composer install
./vendor/bin/phpunit

Getting Started

Please follow the installation procedure and then run the following:

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\SnowflakeApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$snowflake = new \OpenAPI\Client\Model\Snowflake(); // \OpenAPI\Client\Model\Snowflake | Pet object that needs to be added to the store

try {
    $result = $apiInstance->generateSnowflake($snowflake);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SnowflakeApi->generateSnowflake: ', $e->getMessage(), PHP_EOL;
}

?>

Documentation for API Endpoints

All URIs are relative to https://virtserver.swaggerhub.com/quub/Snowflake/1.0.0

ClassMethodHTTP requestDescription
SnowflakeApigenerateSnowflakePOST /Generates Unique snowflake.

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

admin@quub.io