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/image-url.jpg%20%22Optional%20title%22?q=api&page=1013&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 12660 results for "api"(1871ms)

evalPost1main.tsx1 match

@pomdtrUpdated 1 year ago
3console.log(
4 await fetchJSON(
5 "https://api.val.town/v1/eval",
6 {
7 method: "POST",

gltf_torusmain.tsx1 match

@vladimyrUpdated 1 year ago
195 >
196 </meta>
197 <script type="module" src="https://ajax.googleapis.com/ajax/libs/model-viewer/3.4.0/model-viewer.min.js">
198 </script>
199 </head>

playgroundmain.tsx2 matches

@easrngUpdated 1 year ago
12} from "https://deno.land/x/hono@v4.0.10/jsx/index.ts";
13import { Hono } from "https://deno.land/x/hono@v4.0.10/mod.ts";
14import { API_URL } from "https://esm.town/v/std/API_URL?v=5";
15import { create } from "https://esm.town/v/websandbox/create";
16import { parse as parseStack } from "npm:error-stack-parser-es@0.1.1";
754 );
755 } else {
756 const res = await fetch(API_URL + "/v1/eval", {
757 method: "POST",
758 body: JSON.stringify({

supirmain.tsx1 match

@turbo1912Updated 1 year ago
7 const result = await fal.subscribe("fal-ai/supir", {
8 input: {
9 image_url: "https://storage.googleapis.com/falserverless/gallery/NOCA_Mick-Thompson.resized.resized.jpg",
10 },
11 logs: true,

weatherGPTREADME.md1 match

@dantaeyoungUpdated 1 year ago
1If you fork this, you'll need to set `OPENAI_API_KEY` in your [Val Town Secrets](https://www.val.town/settings/secrets).
2
3

sqliteExplorerAppmain.tsx2 matches

@parkerdavisUpdated 1 year ago
23 <head>
24 <title>SQLite Explorer</title>
25 <link rel="preconnect" href="https://fonts.googleapis.com" />
26 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
27 <link
28 href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"
29 rel="stylesheet"
30 />

sqliteExplorerAppREADME.md1 match

@parkerdavisUpdated 1 year ago
13## Authentication
14
15Login to your SQLite Explorer with [password authentication](https://www.val.town/v/pomdtr/password_auth) with your [Val Town API Token](https://www.val.town/settings/api) as the password.
16
17## Todos / Plans

jsonBodyParsingREADME.md1 match

@tmcwUpdated 1 year ago
1null
2
3Migrated from folder: Web_API/jsonBodyParsing

subscribe_to_a_substackmain.tsx2 matches

@bensuUpdated 1 year ago
2// it's not working in ValTown or from Airtable's scripting environment.
3// My best guess is that it has something to do with the headers not looking
4// quite right to Substack when we hit their API.
5
6const email = "hello.at.smallworld@gmail.com";
18};
19
20const result = await fetch("https://blog.edgeesmeralda.com/api/v1/free", {
21 "headers": {
22 "content-type": "application/json",

password_authREADME.md2 matches

@parkerdavisUpdated 1 year ago
11## Usage
12
13If you want to use an [api token](https://www.val.town/settings/api) to authenticate:
14
15```ts
41```
42
43Note that authenticating using your api token remain an option even after setting a password.
44
45## TODO

vapi-minutes-db1 file match

@henrywilliamsUpdated 13 hours ago

vapi-minutes-db2 file matches

@henrywilliamsUpdated 15 hours 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