GET /profanity/filter
Filter profanity från text, replacing bad ord med asterisks or a anpassad replacement. Stöder adding anpassad ord to filter.
text
obligatorisk
Text to filter
add
valfri
Additional words to filter (comma-separated)
fill_char
valfri
Replacement character (default: *)
fill_text
valfri
Replacement text instead of characters
| Namn | Obligatorisk | Standard | Beskrivning |
|---|---|---|---|
text |
Ja | - | Text to filter |
add |
Nej | - | Additional words to filter (comma-separated) |
fill_char |
Nej | - | Replacement character (default: *) |
fill_text |
Nej | - | Replacement text instead of characters |
curl "https://nordapi.ee/api/v1/profanity/filter?text=hello+world"
{
"data": {
"result": "hello world"
},
"success": true
}