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=1671&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 18131 results for "api"(1641ms)

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);

myApimain.tsx1 match

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

myApimain.tsx1 match

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

telegramWebhookEchoMessagemain.tsx1 match

@vtdocs•Updated 1 year ago
8 // Verify this webhook came from our bot
9 if (
10 req.get("x-telegram-bot-api-secret-token") !==
11 process.env.telegramWebhookSecret
12 ) {

telegramGetMemain.tsx1 match

@vtdocs•Updated 1 year ago
3export const telegramGetMe = async (botToken: string) =>
4 fetchJSON(
5 `https://api.telegram.org/bot${botToken}/getMe`,
6 );

xxxclearinghouse_validator

@toowired•Updated 2 hours ago
Request validator for clearance API

Apiify11 file matches

@wolf•Updated 20 hours ago
Kapil01
apiv1