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
- download go
- clone repo
- 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 likeAPIKEY=youruniqueapikey
. cd bestsellers
go run main.go
or
- download go
- clone repo
go build .
./bestsellers CMD