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/$2?q=api&page=1386&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 18080 results for "api"(7844ms)

euphoricGreenSnakemain.tsx1 match

@arshayp•Updated 6 months ago
25async function fetchRandomJoke() {
26 const response = await fetch(
27 "https://official-joke-api.appspot.com/random_joke",
28 );
29 return response.json();

JokeGeneratorValmain.tsx1 match

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

fascinatingYellowAntelopemain.tsx1 match

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

ardentBrownHerringmain.tsx1 match

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

sqlite2main.tsx2 matches

@std•Updated 6 months ago
2
3export const sqlite = createClient({
4 url: "https://api.val.town/v2/sqlite/",
5 authToken: Deno.env.get("VAL_TOWN_API_KEY"),
6});

sqlite2README.md1 match

@std•Updated 6 months ago
1# SQLite2 - [Docs ↗](https://docs.val.town/std/sqlite)
2
3_This is our second generation SQLite client: it exposes a different API than [std/sqlite](https://www.val.town/v/std/sqlite).
4Specifically, this will support the full [@libsql/client interface](https://docs.turso.tech/sdk/ts/reference#simple-query)._
5

sympatheticApricotOttermain.tsx1 match

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

stylishScarletPossummain.tsx1 match

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

modestPurpleLousemain.tsx1 match

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

proficientTealFrogmain.tsx1 match

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

Apiify11 file matches

@wolf•Updated 14 hours ago

dailyQuoteAPI

@Souky•Updated 2 days ago
Kapil01
apiv1