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/$1?q=api&page=64&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 18502 results for "api"(1336ms)

myApi1 file match

@adin•Updated 1 year ago

myApi1 file match

@norriswu0•Updated 1 year ago

myApi1 file match

@nariman•Updated 1 year ago

myApi1 file match

@squidpunch•Updated 1 year ago

myApi1 file match

@helloallan•Updated 1 year ago

myApi1 file match

@com•Updated 1 year ago

myApi1 file match

@juanan•Updated 1 year ago

myApi1 file match

@sokratis•Updated 1 year ago

bitlyAPI2 file matches

@galligan•Updated 1 year ago

myApi1 file match

@futa•Updated 1 year ago

farcaster-autoPostToXREADME.md7 matches

@artivilla•Updated 1 hour ago
222. Note your Val's URL (you'll need this for the Neynar webhook setup)
23
24### Step 2: Create Twitter Developer Account & API Keys
25
261. Go to [Twitter Developer Portal](https://developer.x.com/en/portal/dashboard)
364. Save the settings
37
38#### Generate API Keys
39After setting up authentication with read/write permissions:
40
411. Go to "Keys and Tokens" tab
422. Generate/copy these credentials:
43 - **API Key** (`TWITTER_API_KEY`)
44 - **API Secret** (`TWITTER_API_SECRET`)
45 - **Access Token** (`TWITTER_ACCESS_TOKEN`)
46 - **Access Token Secret** (`TWITTER_ACCESS_TOKEN_SECRET`)
51
52In your Val Town script, add these environment variables:
53- `TWITTER_API_KEY`
54- `TWITTER_API_SECRET`
55- `TWITTER_ACCESS_TOKEN`
56- `TWITTER_ACCESS_TOKEN_SECRET`
70Check the Val Town logs if posts aren't appearing on Twitter:
71- Verify all environment variables are set
72- Ensure Twitter API keys have read/write permissions
73- Check that webhook URL is correctly configured in Neynar
74- Verify your Neynar webhook is active and properly filtered

thirdTimerindex.html2 matches

@nbbaier•Updated 1 hour ago
18 <meta name="google" content="notranslate" />
19
20 <link rel="preconnect" href="https://fonts.googleapis.com" />
21 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
22 <link
23 href="https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Fira+Code:wght@300..700&family=Recursive:wght@300..1000&display=swap"
24 rel="stylesheet"
25 />
apiv1
apiry