Published
Edited
Oct 10, 2021
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
repo = "fastmonkeys/stellar"
Insert cell
Insert cell
forks = fetchGithub(`/repos/${repo}/forks`, { per_page: 100 })
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
Insert cell
import {
fetchGithub,
hasApiKey,
rateLimitSummary,
rateLimit
} from "@abitrolly/github-api-helpers"
Insert cell
// For a notebook to access Secrets, it must statically reference one; this cell grants Secret access to the notebook from which we import the GitHub API helpers. `undefined &&` prevents the Secret from appearing in plaintext in the Inspector.
undefined && Secret("GITHUB_ACCESS_TOKEN")
Insert cell
rateLimit
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