A Ruby CLI for Hurriyet Public API.
Add this line to your application's Gemfile:
gem 'hurriyet_cli'
And then execute:
$ bundle
Or install it yourself as:
$ gem install hurriyet_cli
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
- Yiğit Özkavcı for Ruby Hurriyet API Wrapper.
- Hamdi Akoğuz for his advices.
The gem is available as open source under the terms of the MIT License.