Plagiarism checker for NodeJS
Installation
npm i plagiarism
Usage
const plagiarism = ; ;
text.ru
Params text
- checked text for uniqueness from 100 to 150000 characters (required);userkey
- your personal secret key (required);exceptdomain
- domains that you want to exclude are separated by spaces or commas (optional);excepturl
- Links that you want to exclude from checking are separated by spaces or commas (optional);visible
- availability of test results to other users. The default is the result (https://text.ru/plagiarism/{TEXT UID}
) available only to your account. If you want the results of the checks to be open, you must pass the valuevis_on
(optional);copying
- if you do not want a link with a visual design of the test resultshttps://text.ru/plagiarism/{TEXT UID}
, then you need to pass the valuenoadd
(optional);callback
- your URL (link) to which we will send a POST request with the results of the verification immediately after its completion (optional);uid
- unique text identifier (optional);jsonvisible
- if you want to get more detailed information about the test results (see the additional parameters below), you need to pass the valuedetail
(optional);timeout
- the number of seconds to wait for a response, by the expiration of the time, a response will be sent with theuid
text, which can be received upon repeated request (default 120 sec).
More information: https://text.ru/api-check/manual
text.ru
Result
Option: {"jsonvisible": "detail"}
As soon as one of the parameters text_unique
or spell_check
or seo_check
is available, the result will be sent.
Next, send a second request and get a full response.
Option: {"callback": "https://exanple.com/callback"}