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=1633&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 17734 results for "api"(1500ms)

testVtClientmain.tsx3 matches

@pomdtr•Updated 1 year ago
1export const testVtClient = (async () => {
2 const { createApiClient } = await import(
3 "https://esm.sh/valtown-zod-client@0.0.7"
4 );
5 const apiClient = createApiClient("https://api.val.town");
6 const params = {
7 params: { username: "nbbaier", val_name: "hello" },
8 };
9 return apiClient.getV1aliasUsernameVal_name(params);
10})();

myApimain.tsx1 match

@byron•Updated 1 year ago
1export function myApi(name) {
2 return console.email("hello there", "email n shit");
3}

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

register_discord_commandsmain.tsx1 match

@malloc•Updated 1 year ago
7 commands: Array<Object>
8) => {
9 let url = `https://discord.com/api/v10/applications/${app_id}/`;
10 if (guild_id) {
11 url += `guilds/${guild_id}/commands`;

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

RandomQuoteAPI

@Freelzy•Updated 1 day ago

HAPI7 file matches

@dIgitalfulus•Updated 1 day ago
Kapil01
apiv1