Project

nyt_cli

0.0
The project is in a healthy, maintained state
Get a list of all the NYT Bestseller Ficition books for a given date, and get more information about each book.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Project Readme

NytCli

Welcome to the New York Times Fiction Bestsellers CLI gem! In this application, you are able to view the NYT bestselling fiction books for a given date, view more information about the books on the list for each date, and save books that interest you to a collection.

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file lib/nyt_cli. To experiment with that code, run bin/console for an interactive prompt.

Installation

To install, run:

$ gem install nyt_cli

Navigate to the gem and run:

$ ./bin/nyt-books

Usage

Use NytCLI to retrieve information about fiction books on the New York Times Bestsellers list for a given date!

Get a list of books that appear on the New York Times Bestsellers list for a given date

Demo Gif

Get more information about any given book on a list you search for

Demo Gif

Launch a link to buy any given book straight from within the application

Demo Gif

Save and view books to an easily accessible collection

Demo Gif

Happy book hunting! 📚

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and the created tag, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/nyt_cli.

License

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