No release in over a year
Client for HackerNews APIs
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 2.7
 Project Readme

HackerNews API Client for Ruby

This API Client made by Ruby is a client that uses the Hacker News API.

Installation

$ bundle add hackernews_api_client

Usage

see: https://hackernews.api-docs.io/v0/overview/introduction

require "hackernews_api_client"

client = HackernewsApiClient::Client.new
req = HackernewsApiClient::Requests::TopStories.new
res = client.top_stories(req: req)
puts res.as_json

Development

$ bundle install
$ bundle exec rbs collection install

License

The gem is available as open source under the terms of the MIT License.