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=65&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"(691ms)

myApi1 file match

@ralphite•Updated 1 year ago

myApi1 file match

@iyzg•Updated 1 year ago

myApi1 file match

@stevebennn•Updated 1 year ago

myApi1 file match

@alexw•Updated 1 year ago

myApi1 file match

@zpnichols•Updated 1 year ago

expressApiTest2 file matches

@z233•Updated 1 year ago

myApi1 file match

@iansavchenko•Updated 1 year ago

myApi1 file match

@morten_holm•Updated 1 year ago

myApi1 file match

@nickgehring•Updated 1 year ago

heapify1 file match

@aeschylus•Updated 1 year ago

NowPlayingGrabbermain.tsx2 matches

@micleal•Updated 1 hour 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 1 hour 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