1export async function myApi(name) {
2 const got = await import("got");
3 const res = await got.post("http://34.87.31.113:3000/infer", {
3// Predict the nationality of a name
4export let nameNationality = fetchJSON(
5 "https://api.nationalize.io/?name=staci"
6);
17}> {
18 const res = await fetchJSON(
19 `https://api.twitter.com/2/users/${id}?${query}`,
20 {
21 headers: {
1export function myApi(name) {
2 console.email("hi " + name);
3}
1export function myApi(name) {
2 return "hi " + name;
3}
3// GitHub gists
4export let githubGists = fetchJSON(
5 "https://api.github.com/users/stevekrouse/gists"
6);
38 ...options,
39 }, {
40 apiKey: process.env.ASSEMBLYAI,
41 });
42 },
3// GitHub starred repos
4export let githubStarred = fetchJSON(
5 "https://api.github.com/users/stevekrouse/starred?per_page=10",
6);
1export function myApi(name) {
2 return "hi " + name;
3}
3// Random math fact
4export let mathFact = fetchText(
5 "http://numbersapi.com/random/math"
6);