Skip to content

enderahmetyurt/hurriyet-cli

Repository files navigation

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.

Releases

No releases published

Packages

No packages published