GETCheck Text
https://api-profanity-filter.dataandapis.com/v1/check
Parámetros de consulta
| Parámetro | Ejemplo | |
|---|---|---|
| censor | * | Opcional |
| lang | en | Opcional |
| min_severity | strong | Opcional |
| text | Oh damn, this is crap | Obligatorio |
Petición de ejemplo
curl "https://api-profanity-filter.dataandapis.com/v1/check?censor=*&lang=en&min_severity=strong&text=Oh%20damn%2C%20this%20is%20crap" \
-H "X-Api-Key: YOUR_API_KEY"{
"text": "Oh damn, this is bullsh1t",
"is_profane": true,
"profanity_count": 2,
"max_severity": "strong",
"matches": [
"damn",
"bullshit"
],
"match_details": [
{
"word": "damn",
"severity": "mild"
},
{
"word": "bullshit",
"severity": "strong"
}
],
"censored": "Oh ****, this is ********"
}



