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=1432&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 15492 results for "api"(2002ms)

nameNationalitymain.tsx1 match

@hetzelhouse•Updated 1 year ago
3// Predict the nationality of a name
4export let nameNationality = fetchJSON(
5 "https://api.nationalize.io/?name=staci"
6);

fetchTwitterUsermain.tsx1 match

@andreterron•Updated 1 year ago
17}> {
18 const res = await fetchJSON(
19 `https://api.twitter.com/2/users/${id}?${query}`,
20 {
21 headers: {

myApimain.tsx1 match

@maximilian•Updated 1 year ago
1export function myApi(name) {
2 console.email("hi " + name);
3}

myApimain.tsx1 match

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

githubGistsmain.tsx1 match

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

getWebLoaderBuildermain.tsx1 match

@webup•Updated 1 year ago
38 ...options,
39 }, {
40 apiKey: process.env.ASSEMBLYAI,
41 });
42 },

githubStarredmain.tsx1 match

@sadfasdfasf•Updated 1 year ago
3// GitHub starred repos
4export let githubStarred = fetchJSON(
5 "https://api.github.com/users/stevekrouse/starred?per_page=10",
6);

myApimain.tsx1 match

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

mathFactmain.tsx1 match

@bwaidelich•Updated 1 year ago
3// Random math fact
4export let mathFact = fetchText(
5 "http://numbersapi.com/random/math"
6);

myApimain.tsx1 match

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

HN-fetch-call2 file matches

@ImGqb•Updated 2 days ago
fetch HackerNews by API

token-server1 file match

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