Methods

.getwhitelist

August 12, 2014 |

A profanity word management method. Returns the custom whitelist 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 may…

.getblacklist

August 12, 2014 |

A profanity word management method. Returns the custom blacklist 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 may…

.removefromwhitelist

August 12, 2014 |

A profanity word management method. Removes submitted word from the whitelist of the associated license key. Arguments api_key (Required) Your API application key. word (Required) The word you want to remove from your white 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.removefromwhitelist</method>…

.removefromblacklist

August 12, 2014 |

A profanity word management method. Removes submitted word from the blacklist 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.removefromblacklist</method>…

.addtowhitelist

August 12, 2014 |

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

.addtoblacklist

August 12, 2014 |

A profanity word management method. Adds submitted word to the blacklist 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 black list. ds (Optional default = 0) Deep Search: If you…

.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…