Skip to content

Instantly share code, notes, and snippets.

View atihkin's full-sized avatar

Nikitha Suryadevara atihkin

View GitHub Profile
@atihkin
atihkin / books.py
Last active April 27, 2020 12:47
Calling the Google Books API to categorize books using ISBN
import pandas as pd, requests, json, csv
df = pd.ExcelFile('books.xlsx').parse('Sheet1')
df1=df['ISBN13']
isbn_list = df1.tolist()
headers = {
'apikey': 'API-KEY-HERE'
}
for i in isbn_list: