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=23&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 11506 results for "api"(414ms)

myApi1 file match

@yun•Updated 1 year ago

arenaApiExample2 file matches

@tmcw•Updated 1 year ago

spotifyAPI2 file matches

@stevekrouse•Updated 1 year ago

myApi1 file match

@spurushottam13•Updated 1 year ago

myApi1 file match

@treblegni•Updated 1 year ago

myApi1 file match

@nifei•Updated 1 year ago

myApi1 file match

@jmcallister•Updated 1 year ago

myApi2 file matches

@hieptuanle•Updated 1 year ago

myApi1 file match

@chrisco•Updated 1 year ago

myApiDeleteAll2 file matches

@acmu•Updated 1 year ago

NowPlayingGrabbermain.tsx2 matches

@micleal•Updated 25 mins ago
2import querystring from "npm:querystring";
3
4const NOW_PLAYING_ENDPOINT = "https://api.spotify.com/v1/me/player/currently-playing";
5const TOKEN_ENDPOINT = "https://accounts.spotify.com/api/token";
6
7const client_id = Deno.env.get("spotify_client_id");

templateTwitterAlertREADME.md4 matches

@divya88•Updated 51 mins ago
31Refer to [Twitter's search operators](https://socialdata.gitbook.io/docs/twitter-tweets/retrieve-search-results-by-keyword#endpoint-parameters) to fine-tune your query.
32
33### 4. Test API call
34Set `isProd = false` in the code if you are testing, to ensure there are enough tweets to display. <br>
35Toggle it back to `true` when you're ready to run this cron job in production and actuall send notifications.
60
61### NOTE: Usage Limits
62This val uses the SocialData API for Twitter data:
63
64- **Proxies via Val Town's [SocialDataProxy](https://www.val.town/v/stevekrouse/socialDataProxy)**: Limited to 10 cents per day for [**Val Town Pro users**](https://www.val.town/pricing). This API is *only* for Pro users.
65- **Need more calls?** Sign up for your own [SocialData API token](https://socialdata.tools) and configure the [`socialDataSearch`](https://www.val.town/v/stevekrouse/socialDataSearch) function.
apiv1
papimark21