seratch / hackernews4s   0.6.1

MIT License GitHub

HackerNews API Client in Scala

Scala versions: 2.12 2.11 2.10

HackerNews API Client in Scala

Build Status Maven Central

This library is made for Scala hackers.

HackerNews API?

How to use

libraryDependencies += "com.github.seratch" %% "hackernews4s" % "0.6.0"

APIs

See the scaladocs: hackernews4s.v0.HackerNews

Examples

import hackernews4s.v0._
val topStories: Seq[Item] = HackerNews.getTopStories()
topStories.foreach(println)

See HackerNews.scala for details:

You can try the code examples in comments. We confirm they're valid code by using sbt-doctest.

License

The MIT License