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/$%7Bart_info.art.src%7D?q=api&page=989&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 11746 results for "api"(3717ms)

customStatusCodemain.tsx1 match

@vtdocsUpdated 1 year ago
1// Visit: https://api.val.town/v1/express/vtdocs.customStatusCode
2export const customStatusCode = (req: express.Request, res: express.Response) => {
3 // https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

myApimain.tsx1 match

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

resumemain.tsx4 matches

@ajaxUpdated 1 year ago
28 "text": "https://github.com/thomasdavis"
29 }],
30 "capitalName": "THOMAS DAVIS",
31 "gravatar": "//www.gravatar.com/avatar/cff733cf90823edd218a834980379c61?s=200&r=pg&d=mm"
32 },
50 "name": "Yotam Rosenbaum, SVP of Operations, Earbits, Inc."
51 }, {
52 "reference": "Thomas is an extremely talented engineer with a very broad range of skills and experience. From being a thought leader in the front-end community via backbonetutorials.com and cdnjs.com, to designing and implementing the API for cdnjs.com, working with Thomas has been fantastic learning experience. Thomas is truly a full stack develop, and his work output is incredible. If there is any opportunity to work with Thomas, I take it. He is the definition of an A player.",
53 "name": "Ryan Kirkman, Senior Software Engineer at Nerdwallet"
54 }, {
172 "boolHighlights": true
173 }, {
174 "highlights": ["An international directory of civilian drone / UAV operators for hire. Services include aerial photography, aerial video, mapping, surveying, precision agriculture, real estate photography, remote inspections and infrared imaging. Our plan is to be the place to go when looking for UAV/Drone services. The website is built in Backbone.js and API is built with Node.js and Postgres. ", "The site and blog combined have managed to receive over 200,000 visitors in 2014."],
175 "website": "http://www.dronehire.org",
176 "name": "Drone Hire",
203 "endDateYear": "2012",
204 "endDateMonth": "June ",
205 "highlights": ["Ephox is a worldwide company who is heavily involved with the development of TinyMce and enterprise editors. My primary role included building front-end widgets and applications. Worked on a major product using Backbone.js as a base. Heavily involved in UI/UX design and wire-framing. Also spend a lot of time designing API specifications and documentation."]
206 }],
207 "interests": [{

valVersionmain.tsx1 match

@neverstewUpdated 1 year ago
31 : {};
32 return fetchJSON(
33 `https://api.val.town/v1/vals/${id}/versions/${version}`,
34 { headers },
35 );

hiddenAPImain.tsx2 matches

@rd3mUpdated 1 year ago
1import { hiddenAPIInternal } from "https://esm.town/v/rd3m/hiddenAPIInternal";
2
3export let hiddenAPI = (arg) => hiddenAPIInternal(arg);

hnTopStoriesmain.tsx1 match

@axelavUpdated 1 year ago
3export let // View this in a web browser!
4
5// https://api3.val.town/express/async%20(req,%20res)%20=%3Eres.send(@healeycodes.hnTopStories)
6const hnTopStories = (async () => {
7 let valTownFetchLimit = 100;

gpt-image-test

@CaptainJackUpdated 12 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.
mux
Your friendly, neighborhood video API.
api