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/$%7Bart_info.art.src%7D?q=api&page=1030&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 11410 results for "api"(1898ms)

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

googleProxymain.tsx1 match

@omgwtfbrblolttyl•Updated 1 year ago
8 return res.status(401).end();
9 }
10 const actualKey = process.env["googleAPIKey"];
11 const rewritten = req.originalUrl.replace(
12 `key=${proxyKey}`,

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

githubUsermain.tsx1 match

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

githubFollowersmain.tsx1 match

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

dlockmain.tsx1 match

@karfau•Updated 1 year ago
104 }
105 else {
106 const message = `Unexpected response from API: ${
107 JSON.stringify({ lease, error, deadline })
108 }`;

mod-interview-api1 file match

@twschiller•Updated 6 hours ago

daily-advice-app1 file match

@dcm31•Updated 3 days ago
Random advice app using Advice Slip API
apiv1
papimark21