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/$%7Bsuccess?q=api&page=1000&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 12043 results for "api"(1265ms)

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

mapmain.tsx1 match

@panphoraUpdated 1 year ago
3export let map = async (zipA, latB, longB) => {
4 let f = await fetch(
5 `https://maps.googleapis.com/maps/api/staticmap?auto=&scale=2&size=600x300&maptype=roadmap&format=png&key=AIzaSyBkrVgpa0Ul-_LN7cVq8ws6oYfQi3zCjuU&markers=size:mid%7Ccolor:0xdc2626%7Clabel:1%7CLos%20Angeles%2CCA%2C${zipA}&markers=size:mid%7Ccolor:0xdc2626%7Clabel:2%7C${latB}%2C${longB}`
6 );
7 let res = await f.blob();

starWarsmain.tsx2 matches

@cbfUpdated 1 year ago
1import { fetchJSON } from "https://esm.town/v/stevekrouse/fetchJSON?v=41";
2
3// Explore the Star Wars universe, from StarWarsAPI
4export let starWars = fetchJSON(
5 "https://swapi.dev/api/people/1/"
6);

myApimain.tsx1 match

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

myApimain.tsx1 match

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

queryTwittermain.tsx1 match

@tedUpdated 1 year ago
3export let queryTwitter = (query: string) => {
4 return twitterRequest(
5 `https://api.twitter.com/2/tweets/search/recent?query=${query}&tweet.fields=created_at`
6 );
7};

social_data_api_project3 file matches

@tsuchi_yaUpdated 19 hours ago

simple-scrabble-api1 file match

@bryUpdated 4 days ago
papimark21
socialdata
Affordable & reliable alternative to Twitter API: ➡️ Access user profiles, tweets, followers & timeline data in real-time ➡️ Monitor profiles with nearly instant alerts for new tweets, follows & profile updates ➡️ Simple integration