Project Info
Author: Mika Koivisto
Version: 0.1
Released: July 20th 2012
License: GPL
Source Code
Download: None
Repository: Github
Akismet Java API
This is a java implementation of Akismet comment spam checking api. Signup for your api key at http://akismet.com
Requirements
- SLF4J binding
Installation
- First clone this repository to a directory of you choice
$ git clone git://github.com/mikakoivisto/akismet-java.git
- Install to your local maven repository
$ mvn clean install
- Verify that your api key works
$ mvn test -Dakismet.api.key=YOUR_KEY
- Define as dependency in your application
<dependency><groupId>fi.javaguru.akismet</groupId><artifactId>akismet-java</artifactId></dependency>
Remember to add your preferred SLF4J biding for logging.
Usage
The api implements all Akismet api methods: verify-key, comment-check, submit-spam and submit-ham. The api parameters are encapsulated in AkismetComment object.
See api usage examples from the AkismetIntegrationTest class.
