Updated dependencies.
This commit is contained in:
parent
7e6a1ae087
commit
9ecc6cba68
9 changed files with 43 additions and 25 deletions
|
@ -1,5 +1,5 @@
|
|||
[](http://opensource.org/licenses/BSD-3-Clause)
|
||||
[](https://snyk.io/test/github/ethauvin/akismet-kotlin?targetFile=pom.xml) [](https://sonarcloud.io/dashboard?id=ethauvin_akismet-kotlin) [](https://travis-ci.org/ethauvin/akismet-kotlin) [](https://circleci.com/gh/ethauvin/akismet-kotlin/tree/master)
|
||||
[](https://snyk.io/test/github/ethauvin/akismet-kotlin?targetFile=pom.xml) [](https://sonarcloud.io/dashboard?id=ethauvin_akismet-kotlin) [](https://travis-ci.com/ethauvin/akismet-kotlin) [](https://circleci.com/gh/ethauvin/akismet-kotlin/tree/master)
|
||||
|
||||
# [Akismet](https://www.akismet.com) for Kotlin/Java
|
||||
|
||||
|
@ -12,7 +12,7 @@ Akismet for Kotlin/Java is a pretty complete and straightforward implementation
|
|||
```kotlin
|
||||
val akismet = Akismet(apiKey = "YOUR_API_KEY", blog = "YOUR_BLOG_URL")
|
||||
val comment = AkismetComment(userIp = "127.0.0.1", userAgent = "curl/7.29.0")
|
||||
|
||||
|
||||
with(comment) {
|
||||
referrer = "http://www.google.com"
|
||||
type = AkismetComment.TYPE_COMMENT
|
||||
|
@ -83,4 +83,3 @@ akismet.submitSpam(Akismet.jsonComment(json))
|
|||
|
||||
### More...
|
||||
If all else fails, there's always more [Documentation](https://ethauvin.github.io/akismet-kotlin/).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue