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=410&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 4206 results for "api"(522ms)

valentines_day_card_generatorget-images1 match

@charmaine•Updated 2 months ago
26 for (const row of result.rows) {
27 const blobPath = await blob.get(row["path"] as string);
28 images.push(`https://shouser-blob_admin.web.val.run/api/public/${blobPath.url}`);
29 }
30

valentines_day_card_generatorREADME.md1 match

@charmaine•Updated 2 months ago
3hi sophieee
4
5ok so i only edited `frontend_card`, you can see where im directly grabbing a public url i have in my blob storage aka: https://charmaine-blob_admin.web.val.run/api/public/public%2F1738957543311_Red_Happy_Valentine's_Day_PNG_Clip-Art_Image.png
6
7i would love to be able to make get requests to a url like that instead of hard coding them :p

logmeinmw1 match

@maxm•Updated 2 months ago
42 <title>Log Me In</title>
43 <meta name="viewport" content="width=device-width, initial-scale=1" />
44 <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet" />
45 <style>{css}</style>
46 </head>

logmeindb1 match

@maxm•Updated 2 months ago
25
26 async login(email: string, config: Config | undefined): Promise<string> {
27 const resp = await fetch("https://api.val.town/v1/me", {
28 headers: {
29 "Authorization": `Bearer ${Deno.env.get("valtown")}`,

surprisingEmbeddingsbots2 matches

@tmcw•Updated 2 months ago
142 "frequency": "No information.",
143 "description":
144 "Used to train Gemini and Vertex AI generative APIs. Does not impact a site's inclusion or ranking in Google Search.",
145 },
146 "GoogleOther": {
251 "frequency": "No information.",
252 "description":
253 "Crawls sites for APIs used by Hootsuite, Sprinklr, NetBase, and other companies. Data also sold for research purposes or LLM training.",
254 },
255 "omgilibot": {

dogfoodingmain.tsx1 match

@stevekrouse•Updated 2 months ago
88 href="https://www.val.town/v/std/openaiproxy"
89 title="OpenAI Proxy"
90 description="Provide a secure and efficient proxy for OpenAI API calls"
91 />
92 <FeatureItem
notUber

notUbernotUberConsts1 match

@vawogbemi•Updated 2 months ago
1export const INSTANTDB_APP_ID = "b63bc79a-c9f3-486f-b067-7afc402b3efc";
2export const CLERK_PUBLISHABLE_KEY = "pk_test_cGVyZmVjdC1zYWlsZmlzaC02NS5jbGVyay5hY2NvdW50cy5kZXYk";
3// GO TO https://www.val.town/v/vawogbemi/notUberMapComponent to change the google maps api key -- for some reason importing it doesn't work.

APIBuilderTemplateenthusiasticPeachTapir0 matches

@dcm31•Updated 2 months ago
1export default async function (interval: Interval) {
2
3}

spotifyOauthServerserver1 match

@charmaine•Updated 2 months ago
50 </li>
51 <li>If your access token expires, we use the refresh token to get a new one.</li>
52 <li>Use your access token to make requests to the Spotify API by importing `getSpotifyToken` in your other vals.</li>
53 </ol>
54

spotifyOauthServerserver1 match

@neverstew•Updated 2 months ago
50 </li>
51 <li>If your access token expires, we use the refresh token to get a new one.</li>
52 <li>Use your access token to make requests to the Spotify API by importing `getSpotifyToken` in your other vals.</li>
53 </ol>
54

PassphraseAPI2 file matches

@wolf•Updated 15 hours ago

openapi2 file matches

@stevekrouse•Updated 3 days ago
artivilla
founder @outapint.io vibe coding on val.town. dm me to build custom vals: https://artivilla.com
fiberplane
Purveyors of Hono tooling, API Playground enthusiasts, and creators of 🪿 HONC 🪿 (https://honc.dev)