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=993&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 12060 results for "api"(2031ms)

emailRandomJokemain.tsx1 match

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

emailRandomJokemain.tsx1 match

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

emailRandomJokemain.tsx1 match

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

extractRandomWordsmain.tsx1 match

@fab1anUpdated 1 year ago
3export const extractRandomWords = async (req: Request) => {
4 try {
5 const response = await fetch("https://random-word-api.herokuapp.com/word?number=1");
6 if (!response.ok) {
7 // If the response is not OK, return an error message

blobREADME.md2 matches

@stdUpdated 1 year ago
80```
81
82### Lower-level API
83
84We provide access to the lower-level getter and setters,
87
88* `async get(key: string)`: Retrieves a blob for a given key.
89* `async set(key: string, value: string | BodyInit)`: Sets the blob value for a given key. See [BodyInit](https://deno.land/api@v1.38.1?s=BodyInit).
90
91### Limitations

untitled_coralChinchillamain.tsx1 match

@pujdesaiUpdated 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

@maddytansleyUpdated 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

@stevekrouseUpdated 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

@stevekrouseUpdated 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

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

social_data_api_project3 file matches

@tsuchi_yaUpdated 1 day ago

simple-scrabble-api1 file match

@bryUpdated 4 days ago
papimark21
socialdata
Affordable & reliable alternative to Twitter API: ➡️ Access user profiles, tweets, followers & timeline data in real-time ➡️ Monitor profiles with nearly instant alerts for new tweets, follows & profile updates ➡️ Simple integration