1export function myApi(name) {
2 return "hi " + name + " want to come on Scaling DevTools?";
3}
2import { fetchJSON } from "https://esm.town/v/stevekrouse/fetchJSON?v=41";
3
4export async function polygonDailyAPI(ticker, date) {
5 return fetchJSON(
6 `https://api.polygon.io/v1/open-close/${ticker}/${date}?adjusted=true&apiKey=${process.env.POLYGON_API_KEY}`
7 );
8}
3// Github profile
4export let githubUser = fetchJSON(
5 "https://api.github.com/users/stevekrouse"
6);
1export function myApi(name) {
2 return "hi " + name;
3}
1import { fetchJSON } from "https://esm.town/v/stevekrouse/fetchJSON?v=41";
2
3export let tldrawStars = fetchJSON("https://api.github.com/repos/tldraw/tldraw")
4 .then(
5 (resp) =>
17 // like the sender and the message text
18 const result = await fetchJSON(
19 "https://slack.com/api/chat.postMessage",
20 {
21 headers: {
1// Get news from different sources I care about
2export let untitled8578717 = interface LeNews {
3 feedlyAPI: {
4 name: String,
5 desc: String,
8}
9
10export async function giveMeLeNews({ feedlyAPI }: LeNews) {
11 return "Works";
12}
1export function myApi(name) {
2 return "hi " + name;
3}
1import { imgMin } from "https://esm.town/v/xiaogenban/imgMin";
2
3export async function myApi(name) {
4 return imgMin(name);
5 // return `hi ${name}`;
1export function myApi(name) {
2 return "hi " + name;
3}