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/?q=api&page=1101&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 11733 results for "api"(4205ms)

gsheet_callREADME.md3 matches

@mattxUpdated 2 years ago
1# gsheet_call
2Wrapper around Google Sheets API v4.
3
4## Parameters
6- sheet_id: Google Sheet ID
7- method: HTTP method to use
8- action: Full URL with `https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/` removed
9- data: HTTP request body
10
11## Requirements
12- a Google Cloud service account
13- the Google Sheets API v4 enabled in your Google Cloud project
14- the spreadsheet ID (provide it in the sheet_id parameter)
15

twitterAPIDownAlertREADME.md1 match

@stevekrouseUpdated 2 years ago
1null
2
3Migrated from folder: Archive/polls/twitter/twitterDown/twitterAPIDownAlert
1Migrated from folder: Archive/polls/twitter/twitterDown/checkIfTwitterAPIIsDown

nasaAPODREADME.md1 match

@iBrokeitUpdated 2 years ago
1NASA Astronomy Picture of the Day (APOD)
2- Returns the picture of the day from NASA's api as well as a short write up describing the picture.
3- Thanks to @stevekrouse for his fetchJSON val!
4-Happy coding!

getWttrREADME.md1 match

@LavaCUpdated 2 years ago
1Migrated from folder: API/getWttr

easyAQIREADME.md1 match

@stevekrouseUpdated 2 years ago
3Get the Air Quality Index (AQI) for a location via open data sources.
4
5It's "easy" because it strings together multiple lower-level APIs to give you a simple interface for AQI.
6
71. Accepts a location in basically any string format (ie "downtown manhattan")

nominatimSearchREADME.md3 matches

@stevekrouseUpdated 2 years ago
1# Geocode a free-form description via the Nominatim API
2
3> The search API allows you to look up a location from a textual description or address. Nominatim supports structured and free-form search queries.
4
5Docs: https://nominatim.org/release-docs/latest/api/Search/
6
7Migrated from folder: utils/nominatim/nominatimSearch

expressApiTestREADME.md1 match

@z233Updated 2 years ago
1Migrated from folder: telegram/expressApiTest

basicAPIExREADME.md1 match

@stevekrouseUpdated 2 years ago
1Migrated from folder: Archive/docsExamples/basicAPIEx

dailyDadJokeREADME.md2 matches

@stevekrouseUpdated 2 years ago
113. 🤣🤣🤣🤣
12
13## API
14
15This val uses the [icanhazdadjoke API](https://icanhazdadjoke.com/api). You can find [more docs here](https://github.com/15Dkatz/official_joke_api), such as how to [filter by type](https://github.com/15Dkatz/official_joke_api?tab=readme-ov-file#grab-jokes-by-type).
16
17Migrated from folder: Archive/polls/dadJoke/dailyDadJoke

gpt-image-test

@CaptainJackUpdated 10 hours ago
测试 gpt image 的不同 api 能否满足图片生成要求

new-val-api-21 file match

@shouserUpdated 1 day ago
This is an example of using the API to create a val.
apiv1
papimark21