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%22Image%20title%22?q=api&page=1379&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 15209 results for "api"(1975ms)

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myAPImain.tsx1 match

@haxzie•Updated 1 year ago
1import { untitled_ivoryPuma } from "https://esm.town/v/haxzie/untitled_ivoryPuma";
2
3export function myAPI(message) {
4 return "hello" + untitled_ivoryPuma();
5}

githubFollowersmain.tsx1 match

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

githubFollowersmain.tsx1 match

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

myApimain.tsx2 matches

@vawogbemi•Updated 1 year ago
1//https://api.val.town/v1/run/vawogbemi.myApi?args=["vawogbemi","12"]
2export function myApi(name, age) {
3 return { "hi ": name, "im": age };
4}

myApimain.tsx1 match

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

getCNNNewsShortmain.tsx1 match

@fab1an•Updated 1 year ago
3export async function getCNNNewsShort() {
4 const response = await fetch(
5 "https://saurav.tech/NewsAPI/everything/cnn.json"
6 );
7 const data = await response.json();

HN-fetch-call2 file matches

@ImGqb•Updated 19 hours ago
fetch HackerNews by API

token-server1 file match

@kwhinnery_openai•Updated 2 days ago
Mint tokens to use with the OpenAI Realtime API for WebRTC
rapilot330
Kapil01