Comments (2)
import requests as req
import json
def getBookDetails(title):
url = "https://www.googleapis.com/books/v1/volumes?q=intitle:" + title
response = req.get(url)
results = response.json()
print(results)
if results["totalItems"]:
book = results["items"][0]
isbn = book["volumeInfo"]["isbn"]
categories = book["volumeInfo"]["categories"]
authors = book["volumeInfo"]["authors"]
printType = book["volumeInfo"]["printType"]
pageCount = book["volumeInfo"]["pageCount"]
ratingsCount = book["volumeInfo"]["ratingsCount"]
averageRating = book["volumeInfo"]["averageRating"]
publisher = book["volumeInfo"]["publisher"]
publishedDate = book["volumeInfo"]["publishedDate"]
previewLink = book["volumeInfo"]["previewLink"]
thumbnail = book["volumeInfo"]["imageLinks"]["thumbnail"]
language = book["volumeInfo"]["language"]
description = book["volumeInfo"]["description"]
webReaderLink = book["accessInfo"]["webReaderLink"]
if __name__ == '__main__':
# title = input
getBookDetails("Concepts of Physics")
from library-management.
Most of this is achieved by the Google Books API. The issues with the API, if significant can be addressed in a separate Issue.
from library-management.
Related Issues (13)
- Google DialogFlow interface point HOT 3
- Develop the Flutter App HOT 1
- Proposed UI layout for Admin interface in app HOT 1
- Parse Images to get Text HOT 2
- Make the User Authentication setup HOT 1
- Basic UI for user
- Making a LDA Based Tagging Algorithm HOT 3
- Centralized UID system for displaying books in the app HOT 1
- voiceSearch error: speech.onError HOT 3
- WebApp never finishes Loading HOT 2
- Google auth does'nt work on emulator HOT 3
- Book card on click should be expanded
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from library-management.