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/$%7Bart_info.art.src%7D?q=api&page=1021&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 11482 results for "api"(2241ms)

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

starWarsmain.tsx1 match

@dosirak•Updated 1 year ago
2
3export let starWars = fetchJSON(
4 "https://swapi.dev/api/people/1/"
5);

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

ipmain.tsx1 match

@ian•Updated 1 year ago
1import { fetchJSON } from "https://esm.town/v/ian/fetchJSON";
2
3export let ip = await fetchJSON("https://api.ipify.org?format=json ");

myApimain.tsx1 match

@vandyand•Updated 1 year ago
1export function myApi(name) {
2 if (!name) {
3 return "hi you!";

myApimain.tsx1 match

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

gptApiTemplate2 file matches

@charmaine•Updated 4 hours ago

mod-interview-api1 file match

@twschiller•Updated 20 hours ago
apiv1
papimark21