probe-gate
Demonstrates fetching community reading status statistics for a popular work
curl 'https://openlibrary.org/works/OL1168083W/bookshelves.json'
import requests
resp = requests.get("https://openlibrary.org/works/OL1168083W/bookshelves.json")
data = resp.json()
import zingu_apis
api = zingu_apis.api("openlibrary")
result = api.fetch("works/{id}/bookshelves.json")
for item in result:
print(item)
const resp = await fetch("https://openlibrary.org/works/OL1168083W/bookshelves.json");
const data = await resp.json();