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=206&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 13050 results for "api"(1992ms)

linearStandupmain.tsx9 matches

@rodneydanger84Updated 2 weeks ago
57
58export async function exec(interval: Interval) {
59 const apiKey = Deno.env.get("LINEAR_API_KEY");
60 if (!apiKey) {
61 console.error("LINEAR_API_KEY not found in environment variables");
62 Deno.exit(1);
63 }
65 const { startDate, endDate } = getYesterdayDateRange();
66
67 const response = await fetch("https://api.linear.app/graphql", {
68 method: "POST",
69 headers: {
70 "Content-Type": "application/json",
71 Authorization: apiKey,
72 },
73 body: JSON.stringify({
80
81 if (data.errors) {
82 console.error("Error fetching data from Linear API:", data.errors);
83 Deno.exit(1);
84 }
94 }
95
96 const historyResponse = await fetch("https://api.linear.app/graphql", {
97 method: "POST",
98 headers: {
99 "Content-Type": "application/json",
100 Authorization: apiKey,
101 },
102 body: JSON.stringify({
190 }
191
192 const slackResponse = await fetch("https://slack.com/api/chat.postMessage", {
193 method: "POST",
194 headers: {

guide2main.tsx3 matches

@salonUpdated 2 weeks ago
564 const defaultMaskSrc = "${DEFAULT_MASK_SRC || ""}";
565 try {
566 // <<< Use JSON.parse with proper escaping for data injection >>>
567 raceData = JSON.parse(\`${JSON.stringify(activeRaceData)}\`);
568 if (!Array.isArray(raceData)) throw new Error("Injected data is not an array");
1076 <meta name="viewport" content="width=device-width, initial-scale=1.0">
1077 <title>Character Creator - Select Race (Holographic Cards)</title>
1078 <link rel="preconnect" href="https://fonts.googleapis.com">
1079 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
1080 <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap" rel="stylesheet">
1081 <style>${css}</style>
1082</head>

a4994b25fde_rapid-file-20.js1 match

@vtTestLocalUpdated 2 weeks ago
1// 'Rapid file 20'

a4994b25fde_rapid-file-19.js1 match

@vtTestLocalUpdated 2 weeks ago
1// 'Rapid file 19'

a4994b25fde_rapid-file-18.js1 match

@vtTestLocalUpdated 2 weeks ago
1// 'Rapid file 18'

a4994b25fde_rapid-file-17.js1 match

@vtTestLocalUpdated 2 weeks ago
1// 'Rapid file 17'

a4994b25fde_rapid-file-16.js1 match

@vtTestLocalUpdated 2 weeks ago
1// 'Rapid file 16'

a4994b25fde_rapid-file-12.js1 match

@vtTestLocalUpdated 2 weeks ago
1// 'Rapid file 12'

a4994b25fde_rapid-file-11.js1 match

@vtTestLocalUpdated 2 weeks ago
1// 'Rapid file 11'

a4994b25fde_rapid-file-15.js1 match

@vtTestLocalUpdated 2 weeks ago
1// 'Rapid file 15'

vapi-minutes-db1 file match

@henrywilliamsUpdated 2 days ago

vapi-minutes-db2 file matches

@henrywilliamsUpdated 2 days ago
papimark21
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