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/$%7Bart_info.art.src%7D?q=api&page=974&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 11889 results for "api"(1240ms)

emailRandomJokemain.tsx1 match

@aku7703Updated 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();

sqlite_adminREADME.md1 match

@stevekrouseUpdated 1 year ago
9To use it on your own Val Town SQLite database, [fork it](https://www.val.town/v/stevekrouse/sqlite_admin/fork) to your account.
10
11It uses [basic authentication](https://www.val.town/v/pomdtr/basicAuth) with your [Val Town API Token](https://www.val.town/settings/api) as the password (leave the username field blank).
12
13Migrated from folder: utils/sqlite_admin/sqlite_admin

emailSubscriptionREADME.md1 match

@petermillspaughUpdated 1 year ago
14## Frontend form
15
16You should have a form that hits the `/send-verification` API endpoint on submit. **Remember to adjust the endpoint URL to that of your fork** (or else you'll be signing people up for my website!). As a simple alternative, you could use the `/` handler of this Val, which returns a simple HTML form. Here's a simple example using React:
17
18```tsx

oldfashionedmain.tsx2 matches

@tmcwUpdated 1 year ago
302 <script src="https://unpkg.com/htmx.org@1.9.6/dist/htmx.min.js">
303 </script>
304 <link rel="preconnect" href="https://fonts.googleapis.com" />
305 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
306 <link
307 href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;1,500&display=swap"
308 rel="stylesheet"
309 />

blogREADME.md1 match

@pomdtrUpdated 1 year ago
27This val is able to:
28
29- list them with the `/v1/search` api (with a `#blog` query)
30 - post with different author than the owner of this val will be filtered out
31 - only public vals will be listed

emailRandomJokemain.tsx1 match

@gab0503Updated 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();

emailRandomJokemain.tsx1 match

@linafu2Updated 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();

emailRandomJokemain.tsx1 match

@tylerbinnsUpdated 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();

emailRandomJokemain.tsx1 match

@bellafratantonioUpdated 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();

SAMPLE_JOKEmain.tsx1 match

@nguyentruongnguUpdated 1 year ago
9async function fetchRandomJoke() {
10 const response = await fetch(
11 "https://official-joke-api.appspot.com/random_joke",
12 );
13 return response.json();

social_data_api_project3 file matches

@tsuchi_yaUpdated 18 hours ago

simple-scrabble-api1 file match

@bryUpdated 1 day ago
papimark21
socialdata
Affordable & reliable alternative to Twitter API: ➡️ Access user profiles, tweets, followers & timeline data in real-time ➡️ Monitor profiles with nearly instant alerts for new tweets, follows & profile updates ➡️ Simple integration