An open API service indexing awesome lists of open source software.

https://github.com/michael-simons/java-akismet

A java client for akismet.com
https://github.com/michael-simons/java-akismet

akismet java

Last synced: 17 days ago
JSON representation

A java client for akismet.com

Awesome Lists containing this project

README

        

h1. A java client for akismet.com

!https://travis-ci.org/michael-simons/java-akismet.svg?branch=master!:https://travis-ci.org/michael-simons/java-akismet !https://maven-badges.herokuapp.com/maven-central/eu.michael-simons/java-akismet/badge.svg(Maven Central)!:https://maven-badges.herokuapp.com/maven-central/eu.michael-simons/java-akismet

This is a client for the "akismet":http://akismet.com/ spam checker that supports all "api methods":http://akismet.com/development/api.

The project is a ready to use configured maven/eclipse project, dependencies are "HttpComponents 4.x":http://hc.apache.org and slf4j.

h2. Deployment

Run maven with the following argument added:


mvn -DargLine="-DakismetApiKey=YOUR_API_KEY -DakismetConsumer=YOUR_SITE" install

It get's even more complicated using the release plugin:


mvn release:prepare -Darguments="-DargLine='-DakismetApiKey=YOUR_API_KEY -DakismetConsumer=YOUR_SITE'"
mvn release:perform -Darguments="-DargLine='-DakismetApiKey=YOUR_API_KEY -DakismetConsumer=YOUR_SITE'"

h2. Usage

h3. In a Spring 3.x application

The httpClient reference must be an instance of org.apache.http.client.HttpClient.