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=5&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 18895 results for "api"(2451ms)

Glanceraction.controller.ts1 match

@lightweight•Updated 10 hours ago
3// Initialize Notion client
4const notion = new Client({
5 auth: Deno.env.get("NOTION_API_KEY"),
6});
7

Glancerpage.controller.ts1 match

@lightweight•Updated 10 hours ago
3// Initialize Notion client
4const notion = new Client({
5 auth: Deno.env.get("NOTION_API_KEY"),
6});
7

Glancerdatabase.controller.ts1 match

@lightweight•Updated 10 hours ago
3// Initialize Notion client
4const notion = new Client({
5 auth: Deno.env.get("NOTION_API_KEY"),
6});
7

Glanceractions.controller.ts1 match

@lightweight•Updated 10 hours ago
3// Initialize Notion client
4const notion = new Client({
5 auth: Deno.env.get("NOTION_API_KEY"),
6});
7

Glanceragent.controller.ts1 match

@lightweight•Updated 10 hours ago
3// Initialize Notion client
4const notion = new Client({
5 auth: Deno.env.get("NOTION_API_KEY"),
6});
7

untitled-222shell.ts1 match

@stainless_em•Updated 10 hours ago
21import * as Main from "chrome-devtools-frontend/entrypoints/main/main.js";
22
23// Fix crash on Firefox (non standard / unsupported api used)
24ShadowRoot.prototype.getSelection = ShadowRoot.prototype.getComponentSelection;
25Element.prototype.scrollIntoViewIfNeeded = Element.prototype.scrollIntoView;

test-apns-voip-notimain.tsx1 match

@rafaelortizzableh•Updated 11 hours ago
49 const teamId = "5LJ2HBVN6V";
50 const bundleId = isStaging ? "com.oneroofapp.snag.dev.voip" : "com.oneroofapp.snag.voip";
51 const endpoint = isSandbox ? "https://api.sandbox.push.apple.com/3/device" : "https://api.push.apple.com/3/device";
52
53 // 2. Create the JWT for authentication.
52 const apnsResponse = await fetch(
53 // The APNs endpoint includes the target device token.
54 `https://api.push.apple.com/3/device/${deviceToken}`,
55 {
56 method: "POST",

chatExampleindex.html2 matches

@laurynas•Updated 12 hours ago
6 <title>React Hono Val Town Starter</title>
7 <script src="https://cdn.tailwindcss.com"></script>
8 <link rel="preconnect" href="https://fonts.googleapis.com">
9 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10 <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
11 <link rel="icon" href="/public/favicon.svg" sizes="any" type="image/svg+xml">
12 <style>

chatExampleREADME.md3 matches

@laurynas•Updated 12 hours ago
38```
39
40## API Endpoints
41
42- `GET /` - Serves the React application with initial data
43- `GET /api/messages` - Fetch all messages (JSON)
44- `POST /api/messages` - Create a new message
45- `GET /public/**` - Static assets (CSS, JS, etc.)
46- `/*` - All other routes handled by TanStack Router

shippingAPI1 file match

@dynamic_silver•Updated 10 hours ago

api_zenithpayments_com

@ianmenethil•Updated 20 hours ago
apiry
snartapi