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=834&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 10974 results for "api"(1815ms)

scarletHawkmain.tsx1 match

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

whiteRoadrunnermain.tsx1 match

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

grayDormousemain.tsx2 matches

@natalyazheng1•Updated 1 year ago
30// function fetchRandomJoke() {
31// const response = fetch(
32// "https://official-joke-api.appspot.com/random_joke",
33// );
34// return response.json();
42async function fetchRandomJoke() {
43 const response = await fetch(
44 "https://official-joke-api.appspot.com/random_joke",
45 );
46 return response.json();

harlequinEmuREADME.md1 match

@stevekrouse•Updated 1 year ago
13## Authentication
14
15Login to your SQLite Explorer with [password authentication](https://www.val.town/v/pomdtr/password_auth) with your [Val Town API Token](https://www.val.town/settings/api) as the password.
16
17## Todos / Plans

harlequinEmumain.tsx2 matches

@stevekrouse•Updated 1 year ago
26 <head>
27 <title>SQLite Explorer</title>
28 <link rel="preconnect" href="https://fonts.googleapis.com" />
29
30 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
31 <link
32 href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"
33 rel="stylesheet"
34 />

orangePiranhamain.tsx1 match

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

awesomeREADME.md2 matches

@stevekrouse•Updated 1 year ago
40- @pomdtr/test_explorer
41
42### Api
43
44- @pomdtr/api
45- @pomdtr/trpc
46

orangeMackerelmain.tsx1 match

@halgendy•Updated 1 year ago
19async function fetchRandomJoke() {
20 const response = await fetch(
21 "https://official-joke-api.appspot.com/random_joke",
22 );
23 return response.json();

salmonCrabREADME.md1 match

@stevekrouse•Updated 1 year ago
13## Authentication
14
15Login to your SQLite Explorer with [password authentication](https://www.val.town/v/pomdtr/password_auth) with your [Val Town API Token](https://www.val.town/settings/api) as the password.
16
17## Todos / Plans

salmonCrabmain.tsx2 matches

@stevekrouse•Updated 1 year ago
26 <head>
27 <title>SQLite Explorer</title>
28 <link rel="preconnect" href="https://fonts.googleapis.com" />
29
30 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
31 <link
32 href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"
33 rel="stylesheet"
34 />

daily-advice-app1 file match

@dcm31•Updated 2 days ago
Random advice app using Advice Slip API

gptApiTemplate1 file match

@charmaine•Updated 3 days ago
mux
Your friendly, neighborhood video API.
api