Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 848 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 848 Bytes

NYT Best Sellers and Go

Exploratory for now Trying to brush up on my Go skills

Next steps

  • flags
  • cli go back to last step
  • cli remove "other option"
  • cli search by book title or author
  • pagination on booklists in "lists" command, by 10 to start, for better readability
  • clustering of booklists by similar names
  • remove the build files (BestSellers and playground)
  • tests
  • if price == 0, do not print

Future...

  • connect to a DB
  • something AI
  • data analytics

To run

  1. download go
  2. clone repo
  3. Follow the instructions at NYT API Documents to allow access for each API endpoint you want to use. Then save the API key in your .env file like APIKEY=youruniqueapikey.
  4. cd bestsellers
  5. go run main.go

or

  1. download go
  2. clone repo
  3. go build .
  4. ./bestsellers CMD