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/$%7Bsuccess?q=api&page=999&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 12044 results for "api"(1062ms)

myApimain.tsx1 match

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

myApimain.tsx1 match

@guggeUpdated 1 year ago
1export function myApi(name) {
2 return "Hello " + name;
3}

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myFoomain.tsx2 matches

@sbeckerUpdated 1 year ago
1import { myApi } from "https://esm.town/v/sbecker/myApi";
2
3export function myFoo(name) {
4 console.email("Testing email from val town " + name);
5 return "hello --- " + myApi("x") + " name: " + name;
6}

alphaVantageSymbolQuerymain.tsx6 matches

@seanUpdated 1 year ago
3
4export const alphaVantageSymbolQuery = async ({
5 apikey,
6 ...options
7}: {
8 apikey: string,
9 function:
10 | "TIME_SERIES_INTRADAY"
23 slice?: string,
24}) => {
25 const API_HOST = "alpha-vantage.p.rapidapi.com";
26 const queryString = await toQueryString(options);
27
28 try {
29 const json = await fetchJSON(
30 `https://${API_HOST}/query?${queryString}`,
31 {
32 method: "GET",
33 headers: {
34 "X-RapidAPI-Key": apikey,
35 "X-RapidAPI-Host": API_HOST,
36 },
37 }

boredActivitiesmain.tsx1 match

@ddpopbb3Updated 1 year ago
3// Activity suggestions for when you're bored
4export let boredActivities = fetchJSON(
5 "https://www.boredapi.com/api/activity",
6);

myApimain.tsx1 match

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

myApimain.tsx1 match

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

nowCastPMAQImain.tsx1 match

@stungeyeUpdated 1 year ago
5export async function nowCastPMAQI({ location_id }) {
6 const { results } = await fetchJSON(
7 "https://api.openaq.org/v2/measurements?" +
8 new URLSearchParams({
9 limit: "100",

social_data_api_project3 file matches

@tsuchi_yaUpdated 20 hours ago

simple-scrabble-api1 file match

@bryUpdated 4 days 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