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/image-url.jpg%20%22Optional%20title%22?q=api&page=1604&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 18017 results for "api"(1279ms)

alphaVantageSymbolSearchmain.tsx6 matches

@sean•Updated 1 year ago
3
4export const alphaVantageSymbolSearch = async ({
5 apikey,
6 ...options
7}: {
8 apikey: string,
9 keywords: string,
10}) => {
11 const API_HOST = "alpha-vantage.p.rapidapi.com";
12 const queryString = await toQueryString({
13 ...options,
17 try {
18 const json = await fetchJSON(
19 `https://${API_HOST}/query?${queryString}`,
20 {
21 method: "GET",
22 headers: {
23 "X-RapidAPI-Key": apikey,
24 "X-RapidAPI-Host": API_HOST,
25 },
26 }

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

testWebpagemain.tsx1 match

@joemccourt•Updated 1 year ago
6 // "Bullet",
7 // "Computer",
8 // "Rapid",
9 // "Top Rated",
10 // "Blitz",

helloFriendmain.tsx2 matches

@abdulamite•Updated 1 year ago
1import { myApi } from "https://esm.town/v/abdulamite/myApi";
2
3export let helloFriend = "Hello, " + myApi("abdulamite", "55");

myApimain.tsx1 match

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

paginateAPImain.tsx1 match

@mgruel•Updated 1 year ago
9 };
10};
11export const paginateAPI = async <T extends any = any>(
12 url: string,
13 options?: RequestInit,

emailRandomJokemain.tsx1 match

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

myApimain.tsx1 match

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

Apiify9 file matches

@wolf•Updated 18 mins ago

dailyQuoteAPI

@Souky•Updated 2 days ago
Kapil01
apiv1