3export async function dailyMathFact() {
4 let mathFact = await fetchText(
5 "http://numbersapi.com/random/math",
6 );
7 return { data: mathFact };
1export function myApi() {
2 return { something: "is happening" };
3}
1export function myApi(name) {
2 return "hi " + name;
3}
3export let get_weather = async function () {
4 let response = await fetch(
5 "https://api.open-meteo.com/v1/forecast?latitude=49.26&longitude=-123.07¤t_weather=true"
6 );
7 return response.ok;
1export function myApi(name) {
2 return "hi " + name;
3}
1export let hiapi = (a) => {
2 console.log(a);
3 return [...new Array(100)].map((_, i) => {
1export function myApi(name) {
2 return "hi " + name;
3}
1export function myApi(name) {
2 return "hi " + name;
3}
1export function myApi(name) {
2 return "hi " + name;
3}
2
3export let wee2 = fetchJSON(
4 "https://api.val.town/express/@val.wee1",
5 {
6 method: "POST",