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/$%7Burl%7D?q=api&page=1591&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 18057 results for "api"(7589ms)

untitled_coralChinchillamain.tsx1 match

@pujdesai•Updated 1 year ago
3 async function fetchRandomJoke() {
4 const response = await fetch(
5 "<https://official-joke-api.appspot.com/random_joke>",
6 );
7 return response.json();

emailRandomJokemain.tsx1 match

@maddytansley•Updated 1 year ago
4 async function fetchRandomJoke() {
5 const response = await fetch(
6 "https://official-joke-api.appspot.com/random_joke",
7 );
8 return response.json();

emailRandomJoke2main.tsx1 match

@stevekrouse•Updated 1 year ago
4 async function fetchRandomJoke() {
5 const response = await fetch(
6 "https://official-joke-api.appspot.com/random_joke",
7 );
8 return response.json();

untitled_orangeImpalamain.tsx1 match

@stevekrouse•Updated 1 year ago
2
3export const untitled_orangeImpala = fetchJSON(
4 "https://api.openai.com/v1/usage?date=2023-11-01",
5 {
6 headers: {

untitled_plumBedbugmain.tsx1 match

@derekchiuvamos•Updated 1 year ago
2 function fetchRandomJoke() {
3 const response = fetch(
4 "<https://official-joke-api.appspot.com/random_joke>",
5 );
6 return response;

untitled_azureLeopardmain.tsx1 match

@julesguarrera•Updated 1 year ago
7 async function fetchRandomJoke() {
8 const response = await fetch(
9 "<https://official-joke-api.appspot.com/random_joke>",
10 );
11 return response.json();

emailRandomJokemain.tsx1 match

@lukasgrat•Updated 1 year ago
2 async function fetchRandomJoke() {
3 const response = await fetch(
4 "<https://official-joke-api.appspot.com/random_joke>",
5 );
6 return response.json();

untitled_blushLobstermain.tsx1 match

@aravgoyalneu•Updated 1 year ago
3 async function fetchRandomJoke() {
4 const response = await fetch(
5 "<https://official-joke-api.appspot.com/random_joke>",
6 );
7 return response.json();

untitled_harlequinDingomain.tsx1 match

@juwang110•Updated 1 year ago
2 async function fetchRandomJoke() {
3 const response = await fetch(
4 "<https://official-joke-api.appspot.com/random_joke>",
5 );
6 return response.json();

getVersionmain.tsx1 match

@jpwilliams•Updated 1 year ago
7 }
8
9 const targetUrl = `https://api.github.com/repos/${username}/${repo}/releases/latest`;
10
11 const headers = request.headers;

Apiify11 file matches

@wolf•Updated 10 hours ago

dailyQuoteAPI

@Souky•Updated 2 days ago
apiry
Kapil01