Methods

.getallowlist

August 12, 2014 |

A profanity word management method. Returns the custom allow list of the associated license key. Arguments api_key (Required) Your API application key. format (Optional) Response format: xml or json. Defaults to xml. cdata (Optional) Set equal to 1 to wrap the listed words in <![CDATA[ ]]> Use this if you plan on passing strings that…

.getblocklist

August 12, 2014 |

A profanity word management method. Returns the custom block list of the associated license key. Arguments api_key (Required) Your API application key. format (Optional) Response format: xml or json. Defaults to xml. cdata (Optional) Set equal to 1 to wrap the listed words in <![CDATA[ ]]> Use this if you plan on passing strings that…

.removefromallowlist

August 12, 2014 |

A profanity word management method. Removes submitted word from the allow list of the associated license key. Arguments api_key (Required) Your API application key. word (Required) The word you want to remove from your allow list. format (Optional) Response format: xml or json. Defaults to xml. Example XML Response <?xml version=”1.0″ encoding=”utf-8″ ?> <rsp stat=”ok”>…

.removefromblocklist

August 12, 2014 |

A profanity word management method. Removes submitted word from the blocklist of the associated license key. Arguments api_key (Required) Your API application key. word (Required) The word you want to remove from your black list. format (Optional) Response format: xml or json. Defaults to xml. Example XML Response <?xml version=”1.0″ encoding=”utf-8″ ?> <rsp stat=”ok”> <method>webpurify.live.removefromblocklist</method>…

.addtoallowlist

August 12, 2014 |

A profanity word management method. Adds submitted word to the allow list of the associated license key. Arguments api_key (Required) Your API application key. word (Required) The word you want added to your allow list. ds (Optional default = 0) Deep Search: If you want this word to search substrings. set = 1. format (Optional)…

.addtoblocklist

August 12, 2014 |

A profanity word management method. Adds submitted word to the block list of the associated license key. The word will be filtered along with words WebPurify filters by default. Arguments api_key (Required) Your API application key. word (Required) The word you want added to your block list. ds (Optional default = 0) Deep Search: If…

.return

August 12, 2014 |

A profanity search method. Returns the number of profane words found and a list of the profane words. If the text is clean 0 (zero) is returned. Arguments api_key (Required) Your API application key. text (Required) The text you want checked for profanity. lang (Optional) The 2 letter language code for the text you are…

.replace

August 12, 2014 |

A profanity search and replace method. Returns the number of profane words found and the submitted text with profane words replaced with symbol provided. If the text is clean 0 (zero) is returned. Arguments api_key (Required) Your API application key. text (Required) The text you want checked for profanity. replacesymbol (Required) The symbol you want…

.checkcount

August 12, 2014 |

A profanity checking method. Returns the number of profane words found in the submitted text. If the text is clean 0 (zero) is returned. Arguments api_key (Required) Your API application key. text (Required) The text you want checked for profanity. lang (Optional) The 2 letter language code for the text you are submitting. More information…

.check

August 1, 2014 |

A profanity checking method. If profanity is found it returns 1. If the text is clean 0 (zero) is returned. Arguments api_key (Required) Your API application key. text (Required) The text you want checked for profanity. lang (Optional) The 2 letter language code for the text you are submitting. More information on languages can be…