AskimetEx is a package for use TypePad's AntiSpam services or Askimet endpoints in elixir projects.
The package can be installed by adding askimet_ex
to your list of dependencies in mix.exs
:
def deps do
[
{:askimet_ex, "~> 0.1.1"}
]
end
Read the Documentation
Use the module with parameters:
- Askimet API Key
- Blog URL
- User IP Address
- Comment or message
AskimetEx.check_spam(api_key, blog_url, user_ip, comment)
If you want to collaborate, please make a pull request.