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=656&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 12118 results for "api"(2098ms)

accomplishedPeachWildebeestmain.tsx3 matches

@vesty91•Updated 3 months ago
38 customPC: "Montage PC sur mesure",
39 customPCDesc: "Créez la machine de vos rêves avec des composants haut de gamme.",
40 quickSupport: "Dépannage Rapide",
41 quickSupportDesc: "Résolution efficace de vos problèmes pour un temps de jeu maximal.",
42 testimonials: "Témoignages Clients",
53 send: "Envoyer",
54 followUs: "Suivez-nous",
55 quickLinks: "Liens rapides",
56 allRightsReserved: "Tous droits réservés.",
57 },
388 <title>Assistance Informatique Gaming</title>
389 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
390 <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400;700&display=swap" rel="stylesheet">
391 <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
392 <style>${css}</style>

studiousChocolateCanidaemain.tsx3 matches

@vesty91•Updated 3 months ago
38 customPC: "Montage PC sur mesure",
39 customPCDesc: "Créez la machine de vos rêves avec des composants haut de gamme.",
40 quickSupport: "Dépannage Rapide",
41 quickSupportDesc: "Résolution efficace de vos problèmes pour un temps de jeu maximal.",
42 testimonials: "Témoignages Clients",
53 send: "Envoyer",
54 followUs: "Suivez-nous",
55 quickLinks: "Liens rapides",
56 allRightsReserved: "Tous droits réservés.",
57 },
388 <title>Assistance Informatique Gaming</title>
389 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
390 <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400;700&display=swap" rel="stylesheet">
391 <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
392 <style>${css}</style>

cerebras_coderREADME.md2 matches

@ninadxc•Updated 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`

cerebras_codermain.tsx5 matches

@ninadxc•Updated 3 months ago
217 } catch (error) {
218 Toastify({
219 text: "We may have hit our Cerebras Usage limits. Try again later or fork this and use your own API key.",
220 position: "center",
221 duration: 3000,
970 };
971 } else {
972 const client = new Cerebras({ apiKey: Deno.env.get("CEREBRAS_API_KEY") });
973 const completion = await client.chat.completions.create({
974 messages: [
1095 <meta name="viewport" content="width=device-width, initial-scale=1.0">
1096 <title>CerebrasCoder</title>
1097 <link rel="preconnect" href="https://fonts.googleapis.com" />
1098 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
1099 <link
1100 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"
1101 rel="stylesheet"
1102 />
1111 <meta property="og:description" content="Turn your ideas into fully functional apps in less than a second – powered by Llama3.3-70b on Cerebras's super-fast wafer chips. Code is 100% open-source, hosted on Val Town."">
1112 <meta property="og:type" content="website">
1113 <meta property="og:image" content="https://stevekrouse-blob_admin.web.val.run/api/public/CerebrasCoderOG.jpg">
1114
1115

pioneeringAzureChickadeemain.tsx3 matches

@vesty91•Updated 3 months ago
38 customPC: "Montage PC sur mesure",
39 customPCDesc: "Créez la machine de vos rêves avec des composants haut de gamme.",
40 quickSupport: "Dépannage Rapide",
41 quickSupportDesc: "Résolution efficace de vos problèmes pour un temps de jeu maximal.",
42 testimonials: "Témoignages Clients",
53 send: "Envoyer",
54 followUs: "Suivez-nous",
55 quickLinks: "Liens rapides",
56 allRightsReserved: "Tous droits réservés.",
57 },
388 <title>Assistance Informatique Gaming</title>
389 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
390 <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400;700&display=swap" rel="stylesheet">
391 <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
392 <style>${css}</style>

geminichatmain.tsx1 match

@arfan•Updated 3 months ago
230 await db.saveMessage("user", message);
231
232 const genAI = new GoogleGenerativeAI(Deno.env.get("GEMINI_API_KEY"));
233 const model = "gemini-2.0-flash-exp";
234

neatChocolateLynxmain.tsx5 matches

@vesty91•Updated 3 months ago
28 const testimonials = [
29 { name: "Alex G.", text: "Service exceptionnel ! Mon PC gaming fonctionne mieux que jamais." },
30 { name: "Sophie L.", text: "L'équipe a résolu mon problème rapidement. Je recommande vivement !" },
31 { name: "Thomas M.", text: "Montage PC sur mesure parfait. Exactement ce que je voulais !" },
32 ];
70 <Card className="h-100 gaming-card">
71 <Card.Body>
72 <Card.Title className="gaming-card-title">Dépannage Rapide</Card.Title>
73 <Card.Text>Résolution efficace de vos problèmes pour un temps de jeu maximal.</Card.Text>
74 </Card.Body>
122 <Card className="h-100 gaming-card">
123 <Card.Body>
124 <Card.Title className="gaming-card-title">Dépannage Rapide</Card.Title>
125 <Card.Text>Résolution efficace de vos problèmes pour un temps de jeu maximal.</Card.Text>
126 <Button variant="primary">En savoir plus</Button>
212 </Col>
213 <Col md={4}>
214 <h5>Liens rapides</h5>
215 <ul className="list-unstyled">
216 <li><Link to="/" className="text-light">Accueil</Link></li>
270 <title>Assistance Informatique Gaming</title>
271 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
272 <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400;700&display=swap" rel="stylesheet">
273 <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
274 <style>${css}</style>

scholarlyRedWhalemain.tsx5 matches

@vesty91•Updated 3 months ago
28 const testimonials = [
29 { name: "Alex G.", text: "Service exceptionnel ! Mon PC gaming fonctionne mieux que jamais." },
30 { name: "Sophie L.", text: "L'équipe a résolu mon problème rapidement. Je recommande vivement !" },
31 { name: "Thomas M.", text: "Montage PC sur mesure parfait. Exactement ce que je voulais !" },
32 ];
70 <Card className="h-100 gaming-card">
71 <Card.Body>
72 <Card.Title className="gaming-card-title">Dépannage Rapide</Card.Title>
73 <Card.Text>Résolution efficace de vos problèmes pour un temps de jeu maximal.</Card.Text>
74 </Card.Body>
122 <Card className="h-100 gaming-card">
123 <Card.Body>
124 <Card.Title className="gaming-card-title">Dépannage Rapide</Card.Title>
125 <Card.Text>Résolution efficace de vos problèmes pour un temps de jeu maximal.</Card.Text>
126 <Button variant="primary">En savoir plus</Button>
212 </Col>
213 <Col md={4}>
214 <h5>Liens rapides</h5>
215 <ul className="list-unstyled">
216 <li><Link to="/" className="text-light">Accueil</Link></li>
270 <title>Assistance Informatique Gaming</title>
271 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
272 <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400;700&display=swap" rel="stylesheet">
273 <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
274 <style>${css}</style>

p5main.tsx3 matches

@moe•Updated 3 months ago
9
10 if (isImage) {
11 const imageUrl = `https://api.apiflash.com/v1/urltoimage?access_key=${
12 Deno.env.get("APIFLASH_API_KEY")
13 }&url=${url.origin}&format=png&width=1200&height=800&scale_factor=2`;
14 // const imageUrl = "https://charlypoly-httpapiscreenshotpageexample.web.val.run/?url=" + url.origin;
15 // return Response.redirect(imageUrl, 302)
16 const res = await fetch(imageUrl);

weatherAppmain.tsx2 matches

@yasinarfaht•Updated 3 months ago
17 try {
18 const response = await fetch(
19 `https://api.open-meteo.com/v1/forecast?latitude=${lat}&longitude=${lon}&current_weather=true&hourly=temperature_2m,relativehumidity_2m,windspeed_10m`,
20 );
21 const data = await response.json();
45 try {
46 const geocodeResponse = await fetch(
47 `https://geocoding-api.open-meteo.com/v1/search?name=${
48 encodeURIComponent(searchQuery)
49 }&count=1&language=en&format=json`,

social_data_api_project3 file matches

@tsuchi_ya•Updated 1 day ago

simple-scrabble-api1 file match

@bry•Updated 5 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