fetchGist
The fetcher behind the gist pin card.
Fetch GitHub gist information by given username and ID.
fetchGist(options, config: CardConfig): Promise<GistData>| Option | Type | Required | What it is |
|---|---|---|---|
id | string | undefined | yes | — |
Returns Promise<GistData> — Gist data.
The id
Section titled “The id”The id is the hash at the end of the gist’s URL. A gist that does not exist, or that the token
cannot see, is a not_found — not an empty result.