A long-lived project that still receives updates
Copyleaks detects plagiarism and checks content distribution online. Use Copyleaks to find out if textual content is original and if it has been used before. With Copyleaks cloud publishers, academics, and more can scan files (pdf, doc, docx, ocr...), URLs and free text for plagiarism check.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Copyleaks Ruby SDK

Copyleaks SDK is a simple framework that allows you to scan text for plagiarism and detect content distribution online, using the Copyleaks plagiarism checker cloud.

Using Copyleaks SDK you can check for plagiarism in:

  • Online content and webpages
  • Local and cloud files (see supported files)
  • Free text
  • OCR (Optical Character Recognition) - scanning pictures with textual content (see supported files)

Installation

Install using RubyGems

gem install plagiarism-checker

Register and Get Your API Key

To use the Copyleaks API you need to first be a registered user. The registration to Copyleaks takes a minute and is free of charge. Signup and make sure to confirm your account.

As a signed user you can generate your personal API key. Do so on your dashboard home under 'API Access Credentials'.

For more information check out our API guide.

Usage

require 'copyleaks'
copyleaks = Copyleaks::API.new
res = copyleaks.login(<your email>,<your api key>)
puts res.to_json
Copyleaks::Config.identity_server_uri = "<your identity server uri>"
Copyleaks::Config.api_server_uri = "<your api server uri>"

Demo

See demo.rb under demo folder for an example.

Read More