Skip to content

abishr12/Google-Books-Search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

23andme-challenge

Connect To Google Books API and Running Tests

Table of Contents

Purpose
Running The App
Using The App
Testing

Purpose

A User-Friendly CLI that can be used to access the Google Books API and store your results in a CSV.

This was incredibly fun and I would like to thank you for giving me the opportunity to apply at 23&Me.

Thank You !!!

Running The Google Books App

Install Dependencies:

npm install

To start the app, run:

yarn start

or

npm start

Using the App

Query QuestionsI

The application will ask for your preferences of what you would like to search for.

  • Query --required
  • Start Index
  • Maximum Results (max 40)
  • Ordered By? (relevance, newest)
  • Print Type (all, books, magazines)

Sort QuestionsI

Then the application will ask you where how you would like your csv organized

library.csv

A new file will be created with all your search results!

library.csv -opened

Voila

There's More

When you search for new queries it's all added to your library.csv file NO NEED TO CREATE NEW ONES

Testing

For a full breakdown of the tests please look here.

Full Test Results

The following tests were built using Mocha and Chai

To run the tests, run:

yarn test

or

npm test

Final Words

Thank you very much for your time. I deeply enjoyed working on this challenge and look forward to the next steps!

Best,

Adham

cool

About

connect to google books api and running tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published