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=54&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 19081 results for "api"(1358ms)

myApi1 file match

@broen•Updated 1 year ago

myApi1 file match

@ale•Updated 1 year ago

myApi1 file match

@enyo•Updated 1 year ago

myApi1 file match

@ooo_ooo_oooooh•Updated 1 year ago

myApi1 file match

@mik639•Updated 1 year ago

myApi1 file match

@hborska•Updated 1 year ago

emailAPI2 file matches

@stevekrouse•Updated 1 year ago

privateAPIUnauthenticated2 file matches

@stevekrouse•Updated 1 year ago

verifyAPIAuth2 file matches

@stevekrouse•Updated 1 year ago

myApi1 file match

@lawliet•Updated 1 year ago

untitled-6415main.ts1 match

@joshbeckman•Updated 1 hour ago
3
4const anthropic = new Anthropic({
5 apiKey: Deno.env.get("ANTHROPIC_API_KEY"),
6});
7

invest-trackercrypto_news_cron.tsx2 matches

@samxii777•Updated 1 hour ago
2import { blob } from "https://esm.town/v/std/blob";
3
4const KEY = Deno.env.get("NEWSDATA")!; // API key
5const KEEP = 20; // store up to 20
6const WINDOW_MIN = 1440; // last 24 h
9 /* 1 ─ build query (size 10, English) */
10 const q = encodeURIComponent("bitcoin OR btc OR ethereum OR eth OR solana OR sol");
11 const url = `https://newsdata.io/api/1/latest?apikey=${KEY}&q=${q}&language=en&size=10`;
12
13 /* 2 ─ fetch & peek */
apiry
snartapi