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/$%7Burl%7D?q=api&page=1529&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 17954 results for "api"(2600ms)

aquaLizardmain.tsx1 match

@narraje•Updated 1 year ago
3async function fetchRandomJoke() {
4 const response = await fetch(
5 "https://official-joke-api.appspot.com/random_joke",
6 );
7 return response.json();

extract_contentREADME.md1 match

@cotr•Updated 1 year ago
1Extract all text content from a URL using Cheerio
2
3Migrated from folder: Web_Scraping/extract_content

htmlExampleREADME.md2 matches

@mmabrouk•Updated 1 year ago
1# Returning HTML from the Val Town Web API
2
3This just lets you use the standard [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) object with our [Web API](https://docs.val.town/api/web) to return an HTML response from this Val.

scarletHawkmain.tsx1 match

@lucaslaje•Updated 1 year ago
4async function fetchRandomJoke() {
5 const response = await fetch(
6 "https://official-joke-api.appspot.com/random_joke",
7 );
8 return response.json();

whiteRoadrunnermain.tsx1 match

@henrybednarz•Updated 1 year ago
4async function fetchRandomJoke() {
5 const response = await fetch(
6 "https://official-joke-api.appspot.com/random_joke",
7 );
8 return response.json();

grayDormousemain.tsx2 matches

@natalyazheng1•Updated 1 year ago
30// function fetchRandomJoke() {
31// const response = fetch(
32// "https://official-joke-api.appspot.com/random_joke",
33// );
34// return response.json();
42async function fetchRandomJoke() {
43 const response = await fetch(
44 "https://official-joke-api.appspot.com/random_joke",
45 );
46 return response.json();

harlequinEmuREADME.md1 match

@stevekrouse•Updated 1 year ago
13## Authentication
14
15Login to your SQLite Explorer with [password authentication](https://www.val.town/v/pomdtr/password_auth) with your [Val Town API Token](https://www.val.town/settings/api) as the password.
16
17## Todos / Plans

harlequinEmumain.tsx2 matches

@stevekrouse•Updated 1 year ago
26 <head>
27 <title>SQLite Explorer</title>
28 <link rel="preconnect" href="https://fonts.googleapis.com" />
29
30 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
31 <link
32 href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap"
33 rel="stylesheet"
34 />

orangePiranhamain.tsx1 match

@nethanmadhav•Updated 1 year ago
6async function fetchRandomJoke() {
7 const response = await fetch(
8 "https://official-joke-api.appspot.com/random_joke",
9 );
10 return response.json();

awesomeREADME.md2 matches

@stevekrouse•Updated 1 year ago
40- @pomdtr/test_explorer
41
42### Api
43
44- @pomdtr/api
45- @pomdtr/trpc
46

dailyQuoteAPI

@Souky•Updated 1 day ago

HTTP

@Ncharity•Updated 1 day ago
Daily Quote API
Kapil01
apiv1