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=1579&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 18012 results for "api"(1591ms)

untitled_coffeeElkmain.tsx1 match

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

untitled_orangeAspmain.tsx1 match

@cory96•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_tanPonymain.tsx1 match

@zachie27•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_jadeSwallowmain.tsx1 match

@thekingjf•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_indigoSolemain.tsx1 match

@reshmarajkuma03•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_oliveTapirmain.tsx1 match

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

untitled_ivoryBeavermain.tsx1 match

@dwrii•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_coffeeDuckmain.tsx1 match

@josh_mcd05•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_orangeGophermain.tsx1 match

@NghiiHua•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();

fsrsEndpointmain.tsx1 match

@syncretizm•Updated 1 year ago
324}
325
326// FSRS API Handler
327export async function fsrsEndpoint(req) {
328 // difficulty = 0, stability = 0, state = 0, reps = 0, lapses = 0, scheduled_days = 0, elapsed_days = 0;

Apiify7 file matches

@wolf•Updated 43 mins ago

dailyQuoteAPI

@Souky•Updated 2 days ago
Kapil01
apiv1