Plagiarism detection API: စာသားတင်သွင်း, စာရင်းအင်းကို poll.
endpoints ၏လက်တစ်ဆုပ်စာ, ဆောင်သူ auth, ပွင့်လင်းဘဏ်ခရက်ဒစ်စျေးနှုန်း. ဌာနများအဘို့တည်ဆောက်, စာရေးဆရာပြွန်နှင့် LMS-အနီး tools တွေကို.
သင့်ရဲ့ API key ကို
သင့်ရဲ့ API key ကိုရယူရန် Sign in. Keys တွေကိုအားလုံးအကောင့်နှင့်အတူလာ; API ကိုစစ်ဆေးမှုများကော်ပိုရိတ်မှာ billed နေကြတယ်.
မှတ်ပုံတင်အဆုံးသတ်ချက်
POST /api/v1/check/
check_id နှင့်အတူပြန်လာ 202 ။ Body: စာသား Field ကိုနှင့်အတူ JSON, optional ကိုနက်ရှိုင်းသော boolean ။
curl -X POST https://plagiarism.free/api/v1/check/ \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "The text you want to check..."}'
GET /api/v1/check/<check_id>/
အခြေအနေအတွက် Poll; အခြေအနေကိုလုပ်တဲ့အခါအပြည့်အဝအစီရင်ခံစာပါဝင်သည်: အမှတ်, ယုံကြည်မှုနှင့်ရင်းမြစ် extracts နှင့်အတူ per-phrase match types, နှင့်ရင်းမြစ်စာရင်း.
curl https://plagiarism.free/api/v1/check/CHECK_ID/ \ -H "Authorization: Bearer YOUR_KEY"
GET /api/v1/checks/
သင့်ရဲ့မကြာသေးမီကစစ်ဆေးမှုများစာရင်း, အသစ်ဆုံးပထမဦးဆုံး။ optional query params: ကနုတ် (1-100, default ကို 20) နှင့်အခြေအနေ (တန်းစီ, ပြီးပြီ, မအောင်မြင်...). အားလုံး check_id ကိုသိုလှောင်ခြင်းမရှိဘဲတင်သွင်းမှုနှင့်သင့်ကိုယ်ပိုင် dashboard ကိုပြန်အေးဆေးတည်ငြိမ်.
curl "https://plagiarism.free/api/v1/checks/?limit=20&status=done" \ -H "Authorization: Bearer YOUR_KEY"
Python ဥပမာ
import time
import requests
API = "https://plagiarism.free/api/v1/check/"
HEADERS = {"Authorization": "Bearer YOUR_KEY"}
r = requests.post(API, json={"text": open("essay.txt").read()}, headers=HEADERS)
check_id = r.json()["check_id"]
while True:
report = requests.get(f"{API}{check_id}/", headers=HEADERS).json()
if report["status"] in ("done", "failed"):
break
time.sleep(3)
print(report["score_pct"], "% matched")
for source in report["sources"]:
print(source["pct_of_document"], source["url"])
JavaScript ဥပမာ
const API = "https://plagiarism.free/api/v1/check/";
const headers = { "Authorization": "Bearer YOUR_KEY", "Content-Type": "application/json" };
const { check_id } = await fetch(API, {
method: "POST", headers, body: JSON.stringify({ text })
}).then(r => r.json());
let report;
do {
await new Promise(res => setTimeout(res, 3000));
report = await fetch(`${API}${check_id}/`, { headers }).then(r => r.json());
} while (!["done", "failed"].includes(report.status));
ဈေးနှုန်း
site ကို identical: 1 credit = 1,000 စကားလုံး scanned, စစ်ဆေးခြင်းတစ်ကြိမ်လျှင် rounded up; အနက်ရောင်စစ်ဆေးမှုများကုန်ကျစရိတ်နှစ်ဆ။ Credit packs များမှာမှန်ကန် 365 ရက်ပေါင်း; subscriptions refill monthly and include the API at every level. No separate API tier, no per-seat fees. အစီအစဉ်များနှင့် packages များကိုကြည့်ပါ
Checks run asynchronously (အမှန်တကယ်, နှုန်း-ကန့်သတ် web retrieval takes 20-45 seconds) - အခြေအနေကို endpoint ကို poll ထက်ဆက်သွယ်မှုဖွင့်ထားခြင်းထက်. HTTP 402 မလုံလောက်တဲ့ခရက်ဒစ်ကိုဆိုလိုတယ်; တုံ့ပြန်မှုစစ်ဆေးမှုကုန်ကျမည်ကိုပါဝင်သည်။