• Stars
    star
    14
  • Rank 1,438,076 (Top 29 %)
  • Language
    Ruby
  • License
    MIT License
  • Created about 8 years ago
  • Updated about 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Ruby CLI for Hurriyet

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.