Tinq\PlagiarismChecker

Official Tinq.ai PHP SDK.

All URIs are relative to https://tinq.ai/api/v2, except if the operation defines another base path.

MethodHTTP requestDescription
checkPlagiarismPOST /check-plagiarismCheck Plagiarism

checkPlagiarism()

checkPlagiarism($content_type, $body)

Check Plagiarism

Plagiarism checker

Example

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


// Configure Bearer authorization: bearerAuth
$config = Tinq\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Tinq\Api\PlagiarismChecker(
    // 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(),
    $config
);
$content_type = application/json; // string
$body = array('key' => new \stdClass); // object

try {
    $apiInstance->checkPlagiarism($content_type, $body);
} catch (Exception $e) {
    echo 'Exception when calling PlagiarismChecker->checkPlagiarism: ', $e->getMessage(), PHP_EOL;
}

Parameters

NameTypeDescriptionNotes
content_typestring[optional]
bodyobject[optional]

Return type

void (empty response body)

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]