Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/image-url.jpg%20%22Image%20title%22?q=api&page=1040&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=api

Returns an array of strings in format "username" or "username/projectName"

Found 11919 results for "api"(1994ms)

myApimain.tsx1 match

@tmcw_onboarding•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

mathFactmain.tsx1 match

@hultner•Updated 1 year ago
3// Random math fact
4export let mathFact = fetchText(
5 "http://numbersapi.com/random/math"
6);

myApimain.tsx1 match

@joemccourt•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name + " fobar";
3}

myApimain.tsx1 match

@tychio•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@bacondotbuild•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

getmain.tsx1 match

@cyx•Updated 1 year ago
8 department: "Product",
9 locations: ["New York", "San Francisco", "Remote"],
10 url: "https://boards-api.greenhouse.io/v1/boards/mongodb/jobs?content=true",
11 source: "greenhouse",
12 },

aqimain.tsx1 match

@sina•Updated 1 year ago
4 let pm25 = (
5 await fetchJSON(
6 "https://api.openaq.org/v2/latest?" +
7 new URLSearchParams({
8 limit: "10",

apiExamplemain.tsx1 match

@phelan•Updated 1 year ago
1import { runVal } from "https://esm.town/v/std/runVal";
2
3export const apiExample = runVal("patrickjm.gpt3", {
4 prompt: "write me a poem about tralee",
5});

API_URLmain.tsx3 matches

@easrng•Updated 1 year ago
1import { runtime } from "https://esm.town/v/easrng/runtime";
2
3export const API_URL = await runtime() === "v3-staging"
4 ? "https://api.v3.val.town"
5 : "https://api.val.town";

myApimain.tsx1 match

@fdterr•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

social_data_api_project3 file matches

@tsuchi_ya•Updated 3 mins ago

simple-scrabble-api1 file match

@bry•Updated 2 days ago
snartapi
apiv1