import requests
import json
isbn = str(9781626863910)
r = requests.get("https://www.googleapis.com/books/v1/volumes?q=isbn:" + isbn)
l = r.json()
print(json.load(r.text))
trying to figure this one out kinda a noob here tbh, still learning this stuff
im on W11 laptop, fresh install, vs code, python from microsoft store??(idk if thats right tbh but it seems to work). code is below the google api just exports a simple json and the str is there cuz im testing this out in a differnt file so i can mess with it easier outside my main one i just dont know why its not working
import requests
import json
isbn = str(9781626863910)
r = requests.get("https://www.googleapis.com/books/v1/volumes?q=isbn:" + isbn)
l = r.json()
print(json.load(r.text))