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?q=api&page=90&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 18690 results for "api"(5122ms)

altaroc-algoliascript.js2 matches

@ncf•Updated 6 days ago
571 // console.log("%c🛡️ Interception de requêtes facettes vides", "color: orange; font-weight: bold;");
572
573 // Simuler une réponse sans appel API
574 return Promise.resolve({
575 results: requests.map(req => {
1117 authorizedVehicles = await waitForAuthorizedVehicles();
1118
1119 // Précharger toutes les facettes en UNE SEULE requête API
1120 await preloadAllFacetsOnce();
1121

altaroc-mapboxscript.js2 matches

@ncf•Updated 6 days ago
31function getAuthorizedPoints() {
32 console.log("Début getAuthorizedPoints - authorizedVehicles:", authorizedVehicles);
33 fetch("https://xnyx-ex15-ndvx.n7.xano.io/api:_aqWQ_f_/cached_mapCompanies", {
34 method: "POST",
35 headers: {
39 })
40 .then(response => {
41 console.log("Réponse API reçue:", response.status);
42 return response.json();
43 })

MiniAppStarterimage.tsx3 matches

@moe•Updated 6 days ago
85
86const loadEmoji = (code) => {
87 // const api = `https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/svg/${code.toLowerCase()}.svg`
88 const api = `https://cdn.jsdelivr.net/gh/shuding/fluentui-emoji-unicode/assets/${code.toLowerCase()}_color.svg`
89 return fetch(api).then((r) => r.text())
90}
91

markdown-embedtasks.ts1 match

@stevekrouse•Updated 6 days ago
11// Initialize Notion client
12export const notion = new Client({
13 auth: Deno.env.get("NOTION_API_KEY"),
14});
15

markdown-embedsetPageID.ts1 match

@stevekrouse•Updated 6 days ago
3// Initialize Notion client
4const notion = new Client({
5 auth: Deno.env.get("NOTION_API_KEY"),
6});
7

markdown-embedsetPageIcon.ts1 match

@stevekrouse•Updated 6 days ago
3// Initialize Notion client
4const notion = new Client({
5 auth: Deno.env.get("NOTION_API_KEY"),
6});
7

markdown-embedsetDemoURL.ts1 match

@stevekrouse•Updated 6 days ago
3// Initialize Notion client
4const notion = new Client({
5 auth: Deno.env.get("NOTION_API_KEY"),
6});
7

markdown-embedsetCobrowse.ts1 match

@stevekrouse•Updated 6 days ago
13 console.log(page.id);
14 // get the cobrowse value from the payload
15 // warning: properties in Notion are capitalized as a convention (see Cobrowse)
16 const cobrowse = (page.properties.Cobrowse.checkbox) ? false : true;
17 // save new cobrowse boolean to Notion page

markdown-embedsetCobrowse.ts1 match

@stevekrouse•Updated 6 days ago
3// Initialize Notion client
4const notion = new Client({
5 auth: Deno.env.get("NOTION_API_KEY"),
6});
7

markdown-embedsetAction.ts1 match

@stevekrouse•Updated 6 days ago
3// Initialize Notion client
4const notion = new Client({
5 auth: Deno.env.get("NOTION_API_KEY"),
6});
7

helloEffectHttpApi1 file match

@mattrossman•Updated 38 mins ago

shippingAPI1 file match

@dynamic_silver•Updated 2 hours ago
apiry
snartapi