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=596&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 11605 results for "api"(1935ms)

gemini_coderREADME.md2 matches

@SagarsahUpdated 3 months ago
6
71. Sign up for [Cerebras](https://cloud.cerebras.ai/)
82. Get a Cerebras API Key
93. Save it in a [Val Town environment variable](https://www.val.town/settings/environment-variables) called `CEREBRAS_API_KEY`
10
11# Todos

gemini_codermain.tsx3 matches

@SagarsahUpdated 3 months ago
211 } catch (error) {
212 Toastify({
213 text: "We may have hit our usage limits. Try again later or fork this and use your own API key.",
214 position: "center",
215 duration: 3000,
1093 <meta name="viewport" content="width=device-width, initial-scale=1.0">
1094 <title>Gemini Coder</title>
1095 <link rel="preconnect" href="https://fonts.googleapis.com" />
1096 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
1097 <link
1098 href="https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap"
1099 rel="stylesheet"
1100 />

surprisingEmbeddingsembeddingGetter1 match

@tmcwUpdated 3 months ago
4// Create login schema with email and password
5const inputSchema = v.pipe(v.array(v.pipe(v.string(), v.minLength(1), v.maxLength(32))), v.maxLength(4))
6const client = new VoyageAIClient({ apiKey: Deno.env.get("VOYAGE_API_TOKEN") })
7
8let working = false

generateBackendSchemamain.tsx1 match

@toowiredUpdated 3 months ago
51 });
52 } catch (error) {
53 console.error("Error calling OpenAI API:", error);
54 return new Response("Error generating schema. Please try again later.", { status: 500, headers });
55 }

boldEmeraldWildebeestmain.tsx1 match

@gigmxUpdated 3 months ago
87 const connectWebSocket = useCallback(() => {
88 try {
89 ws.current = new WebSocket("wss://pumpportal.fun/api/data");
90
91 ws.current.onopen = () => {

creativeTomatoSailfishmain.tsx1 match

@allUpdated 3 months ago
162
163const css = `
164@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&family=Playfair+Display:wght@600&display=swap');
165
166:root {

cancelledStripeSubscribermain.tsx1 match

@charmaineUpdated 3 months ago
8
9const stripe = new Stripe(Deno.env.get("stripe_sk_customer_readonly") as string, {
10 apiVersion: "2020-08-27",
11});
12

quickIndigoBobolinkmain.tsx1 match

@charmaineUpdated 3 months ago
8
9const stripe = new Stripe(Deno.env.get("stripe_sk_customer_readonly") as string, {
10 apiVersion: "2020-08-27",
11});
12

insightfulBrownAntmain.tsx1 match

@charmaineUpdated 3 months ago
8
9const stripe = new Stripe(Deno.env.get("stripe_sk_customer_readonly") as string, {
10 apiVersion: "2020-08-27",
11});
12

earthquakesmain.tsx1 match

@filUpdated 3 months ago
58 ${earthquakes_storage.svg}
59<small><a href="https://www.val.town/v/fil.earthquakes"><b><i>vt</i></b> source code</a>
60<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
61<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
62<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/milligram/1.4.1/milligram.css">`,

new-val-api-21 file match

@shouserUpdated 14 hours ago
This is an example of using the API to create a val.

gptApiTemplate2 file matches

@charmaineUpdated 1 day 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