akismet-kotlin/docs/net.thauvin.erik.akismet/-akismet/-init-.md
2020-03-05 22:46:41 -08:00

15 lines
733 B
Markdown

[docs](../../index.md) / [net.thauvin.erik.akismet](../index.md) / [Akismet](index.md) / [<init>](./-init-.md)
# <init>
`Akismet(apiKey: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, blog: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)`
Create a new instance using an [Akismet](https://www.askimet.com/) API key and URL registered with Akismet.
`Akismet(apiKey: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)`
Creates new instance using the provided [Akismet](https://www.askimet.com/) API key.
**Constructor**
Creates new instance using the provided [Akismet](https://www.askimet.com/) API key.