Giter Club home page Giter Club logo

bookcollector's Introduction

bookCollector

Project Description

This project is to assist with a term long course project. The script runs through a long list of isbn's and calls the Google Books API. Certain book information is then pulled from the api call and immediatly entered into the database. The original plan was to make a text file and upload it that way but some issues were encountered with this method. The code still exists and can be easily switched to if needed.

File Explanations

  • README.md - This readme.

  • app.py - The original python script that still uses the text file output method. Only being used to test parse and error functionality. Does not function entirely as intended.

  • bookCollector.py - The updated script that uses the databaseConnector to query our database. This script makes many api calls based on a list of isbns generated from books.csv. It then error checks to ensure the api returns all the information required by our system. If it does not, it simply skips that entry and moves onto the next entry as incomplete information is useless to us. There are so many isbns and calls that we still get a substantial return volume from the script.

  • databaseConnector.py - Our main app's database connector to allow queries to be called to add the books directly to our database.

  • books.csv - The primary list of books used to call the api based on ISBN.

  • books.txt - The primary book information output.

  • inventory.txt - The inventory information output.

  • deletetxt.sh - A bash script used to delete the two texts files inbetween runs.

  • requirements.txt - The file containing project requirements. Used to call the -r flag on pip install.

bookcollector's People

Contributors

cbonesteel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.