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=1005&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 11889 results for "api"(1623ms)

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

fetchReadwiseListmain.tsx2 matches

@ofalvai•Updated 1 year ago
2
3// Fetches a Readwise Reader list
4// Based on https://readwise.io/reader_api#list
5export const fetchReadwiseList = async (
6 token: string,
8) => {
9 return fetchJSON(
10 `https://readwise.io/api/v3/list?location=${location}`,
11 {
12 headers: {

parserSampleJSONZodmain.tsx1 match

@webup•Updated 1 year ago
24 const model = await builder();
25 const input = await prompt.format({
26 question: "What is the capital of France?",
27 });
28 const response = await model.call(input);

myApimain.tsx1 match

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

quotesmain.tsx1 match

@jshawl•Updated 1 year ago
2
3export const quotes = await fetchJSON(
4 "https://zenquotes.io/api/random",
5);

myApimain.tsx1 match

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

githubUsermain.tsx1 match

@mkm•Updated 1 year ago
3// Github profile
4export let githubUser = fetchJSON(
5 "https://api.github.com/users/mkmik",
6);

social_data_api_project3 file matches

@tsuchi_ya•Updated 12 hours ago

simple-scrabble-api1 file match

@bry•Updated 1 day ago
mux
Your friendly, neighborhood video API.
api