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%22Optional%20title%22?q=api&page=1616&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 18131 results for "api"(1749ms)

paginateAPImain.tsx1 match

@mgruel•Updated 1 year ago
9 };
10};
11export const paginateAPI = async <T extends any = any>(
12 url: string,
13 options?: RequestInit,

emailRandomJokemain.tsx1 match

@jay•Updated 1 year ago
4 async function fetchRandomJoke() {
5 const response = await fetch(
6 "https://official-joke-api.appspot.com/random_joke",
7 );
8 return response.json();

myApimain.tsx1 match

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

myApimain.tsx1 match

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

mathFactmain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

githubReposmain.tsx1 match

@jswank•Updated 1 year ago
3// GitHub repos
4export let githubRepos = fetchJSON(
5 "https://api.github.com/users/stevekrouse/repos"
6);

myApimain.tsx1 match

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

myApimain.tsx1 match

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

xxxclearinghouse_validator

@toowired•Updated 3 hours ago
Request validator for clearance API

Apiify11 file matches

@wolf•Updated 20 hours ago
Kapil01
apiv1