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=1644&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 18329 results for "api"(2620ms)

myApimain.tsx1 match

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

githubFollowingmain.tsx1 match

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

myApimain.tsx1 match

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

telegramSetWebhookmain.tsx1 match

@vtdocs•Updated 1 year ago
10}) =>
11 fetchJSON(
12 `https://api.telegram.org/bot${botToken}/setWebhook`,
13 {
14 method: "POST",

exampleExpressPOSTmain.tsx1 match

@vtdocs•Updated 1 year ago
2
3export const exampleExpressPOST = fetchText(
4 "https://api.val.town/v1/express/stevekrouse.expressHTMLExample",
5 { method: "POST", body: JSON.stringify({ name: "Docs" }) },
6);

customStatusCodemain.tsx1 match

@vtdocs•Updated 1 year ago
1// Visit: https://api.val.town/v1/express/vtdocs.customStatusCode
2export const customStatusCode = (req: express.Request, res: express.Response) => {
3 // https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

Galacta3 file matches

@defunkt•Updated 2 hours ago
Marvel Rivals GPT via tracker.gg API

github-api1 file match

@cricks_unmixed4u•Updated 1 day ago
apiry
snartapi