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=937&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 12642 results for "api"(2642ms)

gltf_torusmain.tsx1 match

@saolsen•Updated 9 months ago
199 >
200 </meta>
201 <script type="module" src="https://ajax.googleapis.com/ajax/libs/model-viewer/3.4.0/model-viewer.min.js">
202 </script>
203 </head>

phpServemain.tsx2 matches

@harveyfullstack•Updated 9 months ago
57 function route($uri, $method) {
58 switch ($uri) {
59 case '/api':
60 if ($method === 'POST') {
61 header('Content-Type: application/json');
83 const form = event.target;
84 const formData = new FormData(form);
85 const response = await fetch('/api', {
86 method: 'POST',
87 headers: {

phpServemain.tsx2 matches

@maxm•Updated 9 months ago
57 function route($uri, $method) {
58 switch ($uri) {
59 case '/api':
60 if ($method === 'POST') {
61 header('Content-Type: application/json');
83 const form = event.target;
84 const formData = new FormData(form);
85 const response = await fetch('/api', {
86 method: 'POST',
87 headers: {

phpServeREADME.md1 match

@maxm•Updated 9 months ago
1Serve a REST API in PHP syntax using php-wasm and Val Town.

phpServeREADME.md1 match

@harveyfullstack•Updated 9 months ago
1Serve a REST API in PHP syntax using php-wasm and Val Town.

sqliteExplorerAppREADME.md1 match

@tempdev•Updated 9 months 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

sqliteExplorerAppmain.tsx2 matches

@tempdev•Updated 9 months ago
27 <head>
28 <title>SQLite Explorer</title>
29 <link rel="preconnect" href="https://fonts.googleapis.com" />
30
31 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
32 <link
33 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"
34 rel="stylesheet"
35 />

validateUrlsInCsvmain.tsx1 match

@alfred•Updated 9 months ago
1// This val provides an HTML interface for uploading a CSV file of URLs, validates them,
2// and returns a downloadable CSV file with the results.
3// It uses the Fetch API to check each URL's status and generates a CSV report.
4// We'll use the built-in URL constructor for basic URL validation and the native fetch for HTTP requests.
5// The UI is now styled using Tailwind CSS and shadcn UI components for a more polished look.

arenaChannelContentsmain.tsx2 matches

@pomcute•Updated 9 months ago
7 channelId: string;
8}) => {
9 const baseUrl = `https://api.are.na/v2/channels/${channelId}/contents`;
10 let allContents = [];
11 let hasMore = true;
12 let currentPage = 1;
13
14 // Iterate through pages, since the Are.na API seems to be missing info on total pages
15 while (hasMore) {
16 const pagePromises = [];

blob_adminREADME.md1 match

@bpugh•Updated 9 months ago
9[![](https://stevekrouse-button.express.val.run/Install)](https://www.val.town/v/stevekrouse/blob_admin_app/fork)
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
13# TODO

vapi-minutes-db1 file match

@henrywilliams•Updated 7 hours ago

vapi-minutes-db2 file matches

@henrywilliams•Updated 9 hours ago
artivilla
founder @outapint.io vibe coding on val.town. dm me to build custom vals: https://artivilla.com
mux
Your friendly, neighborhood video API.