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=1053&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 11885 results for "api"(1381ms)

twitterUsermain.tsx2 matches

@stevekrouse•Updated 1 year ago
12 twitterJSON({
13 url: handle
14 ? `https://api.twitter.com/2/users/by/username/${handle}`
15 : `https://api.twitter.com/2/users/${id}`,
16 bearerToken,
17 });

myApimain.tsx1 match

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

mathFactmain.tsx1 match

@kkga•Updated 1 year ago
3// Random math fact
4export let mathFact = fetchText(
5 "http://numbersapi.com/random/math"
6);

myApimain.tsx1 match

@frankysnow•Updated 1 year ago
1export function myApi(name: Interval) {
2 console.email("hi " + name);
3}

readMediumPostsmain.tsx1 match

@patrick_kw_chiu•Updated 1 year ago
5 const articlesDatabase = initDatabase({
6 appId: process.env.MONGODB_ARTICLES_APP_ID,
7 apiKey: process.env.MONGODB_ARTICLES_API_KEY,
8 databaseName: "medium",
9 });

myApimain.tsx1 match

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

githubUsermain.tsx1 match

@hultner•Updated 1 year ago
3// Github profile
4export let githubUser = fetchJSON(
5 "https://api.github.com/users/hultner"
6);

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

social_data_api_project3 file matches

@tsuchi_ya•Updated 11 hours ago

simple-scrabble-api1 file match

@bry•Updated 1 day ago
apiv1
papimark21