You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/image-url.jpg%20%22Image%20title%22?q=api&page=39&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 11826 results for "api"(894ms)
5import { OpenAI } from "https://esm.town/v/std/openai";
6// If Deno.env is used, ensure it's for Val Town secrets if possible or clearly noted.
7// For direct Deno.env.get('OPENAI_API_KEY'), it relies on the Val Town environment variable being set.
8// The std/openai library usually handles API key abstraction using user's Val Town secrets.
910// Your provided summarizerAgent
363}
364365const feedMap = { // Simplified map; a real version might use a more extensive categorized list or API
366"general world news": { name: "NPR News", url: "https://feeds.npr.org/1001/rss.xml" },
367"technology news": { name: "TechCrunch", url: "https://techcrunch.com/feed/" },
2122// As of 2025/02, you cannot enble Agents & Assistants correctly with manifest.json
23// A workaround is to set the app up using https://api.slack.com/apps website.
2425// app.assistant(
3940// -------------------------------
41// Events API
42// -------------------------------
43214// -------------------------------
215// Custom Functions
216// https://api.slack.com/automation/functions/custom
217// -------------------------------
218