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/$%7Burl%7D?q=api&page=1667&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 17972 results for "api"(2243ms)

myApimain.tsx1 match

@lawliet•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}
2
3export let nameTopHNThreadUsingSomeonesVal = (async () => {
4 // Cheerio parses markup and provides an API to interact with the resulting data structure
5 const cheerio = await import("npm:cheerio"); // You can import NPM packages
6 const replyText = await fetchText(

myApimain.tsx1 match

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

clearMyApimain.tsx1 match

@acmu•Updated 1 year ago
1let { fizz } = await import("https://esm.town/v/acmu/fizz");
2
3export function clearMyApi(name) {
4 fizz = "";
5 return "clear yes nbnbnb";

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

starWarsmain.tsx1 match

@dosirak•Updated 1 year ago
2
3export let starWars = fetchJSON(
4 "https://swapi.dev/api/people/1/"
5);

myApimain.tsx1 match

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

myApimain.tsx1 match

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

dailyQuoteAPI

@Souky•Updated 1 day ago

HTTP

@Ncharity•Updated 1 day ago
Daily Quote API
Kapil01
apiv1