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?q=api&page=1045&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 11852 results for "api"(1142ms)

myApimain.tsx1 match

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

myAPImain.tsx1 match

@haxzie•Updated 1 year ago
1import { untitled_ivoryPuma } from "https://esm.town/v/haxzie/untitled_ivoryPuma";
2
3export function myAPI(message) {
4 return "hello" + untitled_ivoryPuma();
5}

githubFollowersmain.tsx1 match

@JanJakes•Updated 1 year ago
3// GitHub followers
4export let githubFollowers = fetchJSON(
5 "https://api.github.com/users/stevekrouse/followers"
6);

githubFollowersmain.tsx1 match

@rld•Updated 1 year ago
3// Github followers
4export let githubFollowers = fetchJSON(
5 "https://api.github.com/users/roskideluge/followers",
6);

myApimain.tsx2 matches

@vawogbemi•Updated 1 year ago
1//https://api.val.town/v1/run/vawogbemi.myApi?args=["vawogbemi","12"]
2export function myApi(name, age) {
3 return { "hi ": name, "im": age };
4}

myApimain.tsx1 match

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

getCNNNewsShortmain.tsx1 match

@fab1an•Updated 1 year ago
3export async function getCNNNewsShort() {
4 const response = await fetch(
5 "https://saurav.tech/NewsAPI/everything/cnn.json"
6 );
7 const data = await response.json();

myApimain.tsx1 match

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

myApimain.tsx1 match

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

boredActivitiesmain.tsx1 match

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

social_data_api_project3 file matches

@tsuchi_ya•Updated 1 hour ago

simple-scrabble-api1 file match

@bry•Updated 18 hours ago
apiv1
papimark21