{"id":23683909,"url":"https://github.com/copyleaks/swift-plagiarism-checker","last_synced_at":"2026-01-06T04:30:13.611Z","repository":{"id":62450821,"uuid":"66775175","full_name":"Copyleaks/Swift-Plagiarism-Checker","owner":"Copyleaks","description":"**OBSOLETE** see Readme file for newer version.","archived":false,"fork":false,"pushed_at":"2019-08-15T10:03:43.000Z","size":93,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-30T22:17:34.720Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://api.copyleaks.com","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Copyleaks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-28T15:17:25.000Z","updated_at":"2021-08-19T16:39:42.000Z","dependencies_parsed_at":"2022-11-01T23:31:01.549Z","dependency_job_id":null,"html_url":"https://github.com/Copyleaks/Swift-Plagiarism-Checker","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Copyleaks%2FSwift-Plagiarism-Checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Copyleaks%2FSwift-Plagiarism-Checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Copyleaks%2FSwift-Plagiarism-Checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Copyleaks%2FSwift-Plagiarism-Checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Copyleaks","download_url":"https://codeload.github.com/Copyleaks/Swift-Plagiarism-Checker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239735864,"owners_count":19688355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-29T20:29:55.505Z","updated_at":"2026-01-06T04:30:13.571Z","avatar_url":"https://github.com/Copyleaks.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"*This package is supporting v1 of the API which will no longer be in use as of July 1, ,2020. It's recommended to use the new v3 of the API, see full documentation with code snippets here - https://api.copyleaks.com/documentation/v3*\n\nCopyleaks finds plagiarism online using copyright infringement detection technology. Find those who have used your content with Copyleaks. See here how to integrate Copyleaks easily with your services, using Java, to detect plagiarism.\n\n## Copyleaks API Swift SDK\n\nCopyleaks SDK is a simple framework that allows you to scan textual content for plagiarism and trace content online, using the [Copyleaks plagiarism checker cloud](https://copyleaks.com/).\n\nDetect plagiarism using Copyleaks SDK in:\n- Online content and webpages\n- Local and cloud files ([see supported files](https://api.copyleaks.com/GeneralDocumentation/TechnicalSpecifications#supportedfiletypes\"))\n- Free text\n- OCR (Optical Character Recognition) - scanning pictures with textual content ([see supported files](https://api.copyleaks.com/GeneralDocumentation/TechnicalSpecifications#supportedfiletypes))\n\n## Installation\n\nCopyleaks Plagiarism Checker is available on [CocoaPods](https://cocoapods.org/?q=copyleaks). To install, simply add the following line to your Podfile:\n\n```ruby\npod \"PlagiarismChecker\"\n```\n\n## Usage\n\nFirst, login with your api-key and email:\n```ruby\n let cloud = CopyleaksCloud(.Businesses)\n            cloud.login(email, apiKey: key, success: { (result) in\n                self.activityIndicator.stopAnimating()\n```\n\nThen you can start to scan content for plagiarism. For example, scan picture with textual content for plagirism:\n```ruby\ncloud.createByOCR(fileURL: NSURL(string: imagePath)!, language: \"English\") { (result) in\n            self.activityIndicator.stopAnimating()\n```\n\nMethods `create_by_url`, `create_by_file`, `create_by_text`, `status`, `result` and `list` returns `CopyleaksApi::CopyleaksProcess` objects. You will get back the status `Finished` if the process finished running.\n\n\nIf you want to disable all callbacks you can add the header `no_callback: true ` to any of the 'create' methods (`no_http_callback` or `no_email_callback` to disable only one). `no_custom_fields` works the same way.\n\n### Errors\n\n| Class | Description |\n|-------|------------|\nBasicError | Superclass error \nBadCustomFieldError | Given custom fields didn't pass validation (key/value/overall size is too large)\nBadFileError | Given file is too large\nBadEmailError | Given call back email is invalid\nBadUrlError | Given callback url is invalid\nUnknownLanguageError | Given OCR language is invalid\nBadResponseError | Response from API is not 200 code\nManagedError | Response contains Copyleaks managed error code (see list [here](https://api.copyleaks.com/Documentation/ErrorList))\n\n### Examples\n\nFor a fast testing, clone the repo, and run `pod install` from the Example directory first with your email and api_key values.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopyleaks%2Fswift-plagiarism-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcopyleaks%2Fswift-plagiarism-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopyleaks%2Fswift-plagiarism-checker/lists"}