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

graphqlAPIEndpoint2 file matches

@flesch•Updated 6 months ago

sendxmppapi1 file match

@singpolyma•Updated 6 months ago

api2 file matches

@campsite•Updated 6 months ago

strivingSilverTapir1 file match

@dcm31•Updated 6 months ago

api

@romanewmedia•Updated 6 months ago

pageSpeedAPI1 file match

@eligosmlytics•Updated 6 months ago

getAirtableDataAPI1 file match

@stnkvcs•Updated 7 months ago

stockAPI2 file matches

@pete•Updated 7 months ago

arenaApiExample2 file matches

@deblina•Updated 7 months ago

smallweb_openapi_guide2 file matches

@all•Updated 7 months ago

NowPlayingGrabbermain.tsx2 matches

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