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=219&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 12904 results for "api"(1112ms)

Aimage.tsx3 matches

@dimdimablockUpdated 2 weeks ago
91
92const loadEmoji = (code) => {
93 // const api = `https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/svg/${code.toLowerCase()}.svg`
94 const api = `https://cdn.jsdelivr.net/gh/shuding/fluentui-emoji-unicode/assets/${code.toLowerCase()}_color.svg`;
95 return fetch(api).then((r) => r.text());
96};
97

AHome.tsx2 matches

@dimdimablockUpdated 2 weeks ago
38function MiniApps() {
39 const { data: miniapps } = useQuery(["miniapps"], async () => {
40 // return await fetch(`/api/miniapps`).then(r => r.json()).then(r => r);
41 // return await fetchNeynarGet(`frame/catalog?limit=100`).then(r => r.frames);
42 return await fetchNeynarGetPages(`frame/catalog?limit=100`, 4, "frames").then(r => r.frames);
98 onChange={e => setSearch(e.target.value)}
99 placeholder="Search..."
100 autoCapitalize="on"
101 autoCorrect="on"
102 type="text"

Afarcaster.ts1 match

@dimdimablockUpdated 2 weeks ago
89
90async function sendFarcasterNotification(payload: any) {
91 return await fetch("https://api.warpcast.com/v1/frame-notifications", {
92 method: "POST",
93 headers: { "Content-Type": "application/json" },

JaanWebsiteStatusconfig.json1 match

@JaanUpdated 2 weeks ago
4 "https://admin.jaan.ng/",
5 "https://blog.jaan.ng",
6 "https://api.jaan.ng"
7 ]
8}

fieryLavenderVultureindex.ts1 match

@temptempUpdated 2 weeks ago
74});
75
76app.get("/api/searchPosts", (c) => {
77 return c.json([
78 { id: 1, name: "John" },

JaanWebsiteStatusconfig.json1 match

@shafogrinUpdated 2 weeks ago
4 "https://admin.jaan.ng/",
5 "https://blog.jaan.ng",
6 "https://api.jaan.ng"
7 ]
8}

uniqueSilverHorsemain.tsx1 match

@idoubtit_0815Updated 2 weeks ago
158
159 // Send echo response back to same chat
160 const response = await fetch(`https://api.telegram.org/bot${BOT_TOKEN}/sendMessage`, {
161 method: "POST",
162 headers: {

gloriousPinkManateemain.tsx1 match

@Judith_123Updated 2 weeks ago
1import process from "node:process";
2
3const res = await fetch("https://api.val.town/v1/me", {
4 headers: {
5 Authorization: `Bearer ${process.env.valtown}`,

sqliteExplorerAppREADME.md1 match

@alexmnpsUpdated 2 weeks 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

@alexmnpsUpdated 2 weeks 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 />

vapi-minutes-db1 file match

@henrywilliamsUpdated 1 day ago

vapi-minutes-db2 file matches

@henrywilliamsUpdated 1 day ago
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
artivilla
founder @outapint.io vibe coding on val.town. dm me to build custom vals: https://artivilla.com