This library is made for Scala hackers.
- http://blog.ycombinator.com/hacker-news-api
- https://hacker-news.firebaseio.com/
- https://github.com/HackerNews/API
libraryDependencies += "com.github.seratch" %% "hackernews4s" % "0.6.0"
See the scaladocs: hackernews4s.v0.HackerNews
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.
The MIT License