GET /profanity/filter
Filter profanity from text, replacing bad words with asterisks or a custom replacement. Styður adding custom words to filter.
text
nauðsynlegt
Text to filter
add
valfrjálst
Additional words to filter (comma-separated)
fill_char
valfrjálst
Replacement character (default: *)
fill_text
valfrjálst
Replacement text instead of characters
| Nafn | Nauðsynlegt | Sjálfgefið | Lýsing |
|---|---|---|---|
text |
Já | - | Text to filter |
add |
Nei | - | Additional words to filter (comma-separated) |
fill_char |
Nei | - | Replacement character (default: *) |
fill_text |
Nei | - | Replacement text instead of characters |
curl "https://nordapi.ee/api/v1/profanity/filter?text=hello+world"
{
"data": {
"result": "hello world"
},
"success": true
}