Bitly-Shorten, Isgd-Shorten and Akismet-Kotlin
<1 min read
I've released three libraries for Kotlin/Java:
Bitly Shortener
A simple implementation of the URL shortening (bitlinks) abilities of the Bitly v4 API.
bitly.bitlinks().shorten("https://www.example.com/")
is.gd Shortener
A simple implementation of the is.gd API for URL shortening.
Isgd.shorten("https://www.example.com/")
Akismet
A pretty complete and straightforward implementation of the Automattic's Akismet API, a free service which can be used to actively stop comments spam.
val akismet = Akismet(apiKey = "API_KEY", blog = "https://www.example.com/")
val comment = AkismetComment(request = context.getRequest()) val isSpam = akismet.checkComment(comment)
Comments
1 (Closed)
Jay
Jun 10, 2020