githubUsermain.tsx1 match
3// Github profile
4export let githubUser = fetchJSON(
5"https://api.github.com/users/stevekrouse"
6);
githubFollowersmain.tsx1 match
3// GitHub followers
4export let githubFollowers = fetchJSON(
5"https://api.github.com/users/stevekrouse/followers"
6);
104}
105else {
106const message = `Unexpected response from API: ${
107JSON.stringify({ lease, error, deadline })
108}`;
24import * as Plot from "https://cdn.jsdelivr.net/npm/@observablehq/plot@0.6.9/+esm";
25import {debounce} from "https://cdn.jsdelivr.net/npm/lodash-es@4.17.21/+esm";
26const ranks = await (await fetch('https://api.val.town/v1/run/tmcw.big_stories_ranks')).json();
2728let allDates = new Set();
privateAPIAuthenticatedmain.tsx2 matches
2import { fetchJSON } from "https://esm.town/v/stevekrouse/fetchJSON";
34export const privateAPIAuthenticated = fetchJSON(
5"https://api.val.town/v1/run/stevekrouse.example3",
6{
7method: "GET",
1import { spotifyAPI } from "https://esm.town/v/stevekrouse/spotifyAPI";
23export let spotifyMe = (token) => spotifyAPI({ token, endpoint: 'me' })
panphoraDistanceTimedmain.tsx2 matches
1import { runValAPI } from "https://esm.town/v/stevekrouse/runValAPI";
2import { timed } from "https://esm.town/v/stevekrouse/timed";
3import { panphoraDistanceTimes } from "https://esm.town/v/stevekrouse/panphoraDistanceTimes";
6panphoraDistanceTimes.push(
7await timed(() =>
8runValAPI(
9"@panphora.distance",
10"barclay center",