Content API
This API allows you to evaluate content.
This API gives you access to content evaluation systems.
The content API type is for premium members and responds to POST requests via HTTPS. The API results are JSON formatted.
Endpoint
https://api.digitalpoint.com/v1/content/{action}.json
Actions
Valid actions for this API type:
duplicate
Used to detect plagiarism. Pass content (for example an article) and you will get a sample of URLs where that content exists at. If no URLs are returned, then no duplicate content was detected (that would not necessarily mean there absolutely is no plagiarism, only that we were unable to find any programmatically).
quality
Obtain a writing quality score for certain content (for example an article). The quality score can range between 0 and 100 (with 100 being the highest possible score).
Example
If you wanted to check for plagiarism in an article that was contained within the $article variable, this is how you could do it... ($accessId and $secretKey come from your account API settings)