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=1610&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 17967 results for "api"(4110ms)

myApimain.tsx1 match

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

myApimain.tsx1 match

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

gqlmain.tsx2 matches

@wilhelm•Updated 1 year ago
1import { fetch } from "https://esm.town/v/std/fetch";
2
3export let gql = (api, query, variables = {}) =>
4 fetch(api, {
5 method: "POST",
6 body: JSON.stringify({ query, variables }),

twitterAuthHandlermain.tsx1 match

@andreterron•Updated 1 year ago
30}> {
31 // Imports
32 const { Client, auth } = await import("npm:twitter-api-sdk");
33 //
34 const authClient = new auth.OAuth2User({

githubStarsmain.tsx1 match

@sourishkrout•Updated 1 year ago
7) {
8 const { stargazers_count } = await fetchJSON(
9 `https://api.github.com/repos/${encodeURIComponent(handle)}/${
10 encodeURIComponent(repo)
11 }`,

myApimain.tsx1 match

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

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}

dailyQuoteAPI

@Souky•Updated 1 day ago

HTTP

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