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/?q=api&page=927&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 11494 results for "api"(1318ms)

untitled_aquamarineChinchillamain.tsx1 match

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

CS1200main.tsx1 match

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

untitled_turquoiseSparrowmain.tsx1 match

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

untitled_aquamarineBlackbirdmain.tsx1 match

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

untitled_greenTortoisemain.tsx1 match

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

untitled_brownBeemain.tsx1 match

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

untitled_plumAardvarkmain.tsx1 match

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

untitled_cyanButterflymain.tsx1 match

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

CS1200main.tsx1 match

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

untitled_tealBovidmain.tsx1 match

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

gptApiTemplate2 file matches

@charmaine•Updated 7 hours ago

mod-interview-api1 file match

@twschiller•Updated 23 hours ago
apiv1
papimark21