0.01
No commit activity in last 3 years
No release in over 3 years
A Ruby CLI via Hurriyet Public API via https://github.com/hurriyet/developers.hurriyet.com.tr
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.12
~> 10.0
~> 3.0

Runtime

 Project Readme

HurriyetCli

A Ruby CLI for Hurriyet Public API.

Installation

Add this line to your application's Gemfile:

gem 'hurriyet_cli'

And then execute:

$ bundle

Or install it yourself as:

$ gem install hurriyet_cli

Usage

Export your HURRIYET_API_KEY that you get from https://developers.hurriyet.com.tr

$ export HURRIYET_API_KEY=<YOUR_HURRIYET_API_KEY>
$ hurriyet_cli articles # Fetch all articles
$ hurriyet_cli articles --top 5  # Fetch top 5 articles

Thanks

License

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