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/$%7Bsuccess?q=api&page=989&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 12063 results for "api"(1761ms)

Jokegeneratormain.tsx1 match

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

randomJokeGeneratormain.tsx1 match

@dylanpatel16Updated 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_redCatfishmain.tsx1 match

@remeleeUpdated 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();
1Migrated from folder: External_APIs/openai/function_calling/gpt4FunctionCallingExample

emailRandomJokemain.tsx1 match

@caofannyUpdated 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_greenCrayfishmain.tsx1 match

@mohammedUpdated 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();
4async function fetchRandomJoke() {
5 const response = await fetch(
6 "https://official-joke-api.appspot.com/random_joke",
7 );
8 return response.json();

markdocReactExamplemain.tsx2 matches

@pomdtrUpdated 1 year ago
1/** @jsxImportSource npm:react */
2import { api } from "https://esm.town/v/pomdtr/api";
3import { extractValInfo } from "https://esm.town/v/pomdtr/extractValInfo";
4import { html } from "https://esm.town/v/stevekrouse/html?v=5";
28 // extract the current val readme
29 const { author, name } = extractValInfo(import.meta.url);
30 const { readme } = await api(`/v1/alias/${author}/${name}`);
31
32 // render it using markdoc

emailRandomJokemain.tsx1 match

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

emailRandomJokemain.tsx1 match

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

social_data_api_project3 file matches

@tsuchi_yaUpdated 1 day ago

simple-scrabble-api1 file match

@bryUpdated 4 days ago
papimark21
socialdata
Affordable & reliable alternative to Twitter API: ➡️ Access user profiles, tweets, followers & timeline data in real-time ➡️ Monitor profiles with nearly instant alerts for new tweets, follows & profile updates ➡️ Simple integration