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=1279&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 13917 results for "api"(3636ms)

myApimain.tsx1 match

@javi•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@xiaogenban•Updated 1 year ago
1import { imgMin } from "https://esm.town/v/xiaogenban/imgMin";
2
3export async function myApi(name) {
4 return imgMin(name);
5 // return `hi ${name}`;

myApimain.tsx1 match

@taowen•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@ddpopbb3•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@gbeaver•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@britzdm•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@danielraffel•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@R3D01NG1T•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@jqxu•Updated 1 year ago
1export function myApi(name) {
2 return "hello " + name;
3}

myApimain.tsx1 match

@ndom91•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

new-val-api-demo

@shouser•Updated 19 hours ago
This is an example of using the API to create a val.

groq-api2 file matches

@cameronpak•Updated 23 hours ago
snartapi
mux
Your friendly, neighborhood video API.