النص واللغة
مرشح الألفاظ النابية API
اكتشف الألفاظ النابية واحجبها بدقة حدود الكلمات.
طلب الرؤوس
| Name | Required | Description |
|---|---|---|
X-RapidAPI-Key | required | Your RapidAPI key. Get one free. |
X-RapidAPI-Host | required | profanity.p.rapidapi.com |
نقاط النهاية
GET
/v1/text/profanity Detect and censor profanity in a text
حدود
| Name | Type | Required | Default | Constraints |
|---|---|---|---|---|
text | string | required | — | <= 5000 chars; matches \S |
أمثلة على الكود
curl --request GET \
--url 'https://profanity.p.rapidapi.com/v1/text/profanity?text=example' \
--header 'x-rapidapi-key: YOUR_API_KEY' \
--header 'x-rapidapi-host: profanity.p.rapidapi.com' const url = "https://profanity.p.rapidapi.com/v1/text/profanity?text=example";
const options = {
method: "GET",
headers: {
"x-rapidapi-key": "YOUR_API_KEY",
"x-rapidapi-host": "profanity.p.rapidapi.com"
}
};
const response = await fetch(url, options);
const data = await response.json();
console.log(data); import requests
url = "https://profanity.p.rapidapi.com/v1/text/profanity"
querystring = {"text": "example"}
headers = {
"x-rapidapi-key": "YOUR_API_KEY",
"x-rapidapi-host": "profanity.p.rapidapi.com"
}
response = requests.get(url, headers=headers, params=querystring)
print(response.json()) مثال تفاعلي
$ GET /v1/text/profanity?text=you are a shit head
{"contains_profanity":true,"censored":"you are a **** head"} الاشتراك والترخيص
يمكنك الوصول إلى واجهة برمجة التطبيقات هذه بمستويات جاهزة للاستخدام التجاري على RapidAPI. خطط مرنة مصممة للمشاريع الجانبية والشركات الناشئة وهياكل الإنتاج كبيرة الحجم.
دعم المطورين
هل تحتاج إلى مساعدة في التكامل أو لديك طلب نقطة نهاية مخصص؟ فريقنا الهندسي موجود هنا للمساعدة في المصادقة ومخططات الحمولة وزيادة حدود معدل التردد العالي.
أداء النظام
مراقبة على مدار 24 ساعة طوال أيام الأسبوع مع وقت تشغيل بنسبة 99.9% لاتفاقية مستوى الخدمة. تم تصميمه فوق خدمات صغيرة سحابية أصلية مع تخزين مؤقت على الحافة موزع عالميًا لضمان أوقات استجابة منخفضة للغاية.
جميع الأنظمة التشغيلية