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=68&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"(1298ms)

myApi1 file match

@onemanwenttomow•Updated 1 year ago

myApi1 file match

@ralphite•Updated 1 year ago

myApi1 file match

@iyzg•Updated 1 year ago

myApi1 file match

@stevebennn•Updated 1 year ago

myApi1 file match

@alexw•Updated 1 year ago

myApi1 file match

@zpnichols•Updated 1 year ago

expressApiTest2 file matches

@z233•Updated 1 year ago

myApi1 file match

@iansavchenko•Updated 1 year ago

myApi1 file match

@morten_holm•Updated 1 year ago

myApi1 file match

@nickgehring•Updated 1 year ago

RJ-DownDetectormain.tsx1 match

@tagawa•Updated 1 hour ago
7async function sendTelegramMessage(message: string) {
8 for (const chat_id of TELEGRAM_CHAT_IDS) {
9 const url = `https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendMessage`;
10 console.log(`Sending Telegram message to ${chat_id}...`);
11 const res = await fetch(url, {

farcaster-autoPostToXREADME.md7 matches

@artivilla•Updated 2 hours 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
Kapil01
apiv1