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/$%7Bart_info.art.src%7D?q=api&page=1412&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 18330 results for "api"(4279ms)

observantApricotGoatmain.tsx1 match

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

stellarYellowLocustmain.tsx1 match

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

notUberFoldermain.tsx3 matches

@vawogbemi•Updated 6 months ago
20 <h1>notUber -- Its kinda like Lyft</h1>
21 <p>I built this as part of a larger project, as well a demo.</p>
22 <p>The stack consists of <a href="https://www.clerk.com">Clerk</a> for Auth, <a href="https://www.instantdb.com">InstantDB</a> for my database, and the <a href="https://developers.google.com/maps">Google maps api</a> for maps and routing etc.</p>
23 <p>All the vals are located <a href="https://vawogbemi-notuberfolder.web.val.run">here</a>.</p>
24 <h3>Getting Started</h3>
26 <li>Fork all the vals, the link is <a href="https://vawogbemi-notuberfolder.web.val.run">here</a>.</li>
27 <li>Refactors the imports so they're importing from your vals and not this val.</li>
28 <li>Visit <a href="https://www.clerk.com">Clerk</a>, <a href="https://www.instantdb.com">InstantDB</a>, <a href="https://developers.google.com/maps">Google maps api</a> and create accounts and get ur api keys.</li>
29 <li>Enter your api Keys into your <a href="https://www.val.town/v/vawogbemi/notUberConsts">notUberConsts</a> and <a href="https://www.val.town/v/vawogbemi/notUberMapComponent">notUberMapComponent</a> vals.</li>
30 <li>Follow me on <a href="https://x.com/vawogbemi">X</a>. THIS IS THE MOST IMPORTANT STEP.</li>
31 </ul>

intuitivePlumVulturemain.tsx1 match

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

excitedApricotMongoosemain.tsx1 match

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

sqliteExplorerAppREADME.md1 match

@cameronpak•Updated 6 months 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

sqliteExplorerAppmain.tsx2 matches

@cameronpak•Updated 6 months ago
27 <head>
28 <title>SQLite Explorer</title>
29 <link rel="preconnect" href="https://fonts.googleapis.com" />
30
31 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
32 <link
33 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"
34 rel="stylesheet"
35 />

marvelousIvorySeahorsemain.tsx1 match

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

enchantingOliveCatfishmain.tsx1 match

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

blueskySearchPostsDemomain.tsx2 matches

@stevekrouse•Updated 6 months ago
1import { AtpAgent } from "npm:@atproto/api@0.13.15";
2
3const agent = new AtpAgent({ service: "https://public.api.bsky.app/" });
4
5const posts = await agent.app.bsky.feed.searchPosts({

Galacta3 file matches

@defunkt•Updated 1 hour ago
Marvel Rivals GPT via tracker.gg API

github-api1 file match

@cricks_unmixed4u•Updated 1 day ago
apiry
snartapi