Published
Edited
Oct 12, 2022
3 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
/*data = (
await soFetch(
`https://cors.io/?https://www.goodreads.com/book/review_counts.json?key=${apiKey}&isbns=${classic_isbns}&format=JSON`
)
).json()*/
Insert cell
data = await fetchp(
`https://www.goodreads.com/book/review_counts.json?key=${apiKey}&isbns=${classic_isbns}&format=JSON`,
{
headers: {
Accept: "application/json",
"Content-Type": "application/json"
}
}
).then((response) => {
return response.json();
})
Insert cell
import { fetchp } from "@tomlarkworthy/fetchp"
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
/*viewof apiKey = secret("apiKey", {
description:
"This is a secret API token whose value is only available to you!",
submit: "Set secret"
})*/
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more