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

smallweb_openapi1 file match

@pomdtr•Updated 7 months ago

addNumbersAPI

@rororowyourboat•Updated 7 months ago

openapi_playground2 file matches

@stainless_em•Updated 7 months ago

createAPI2 file matches

@websandbox•Updated 7 months ago

memoryApiExample2 file matches

@xkonti•Updated 7 months ago

restfulJsonBlobApi1 file match

@anotherjesse•Updated 7 months ago

quotableApiProxy2 file matches

@johndturn•Updated 7 months ago

scrapeCraigslistAPI1 file match

@rochambeau314•Updated 7 months ago

spacexapi1 file match

@moe•Updated 7 months ago

calculateTransitAPI2 file matches

@rochambeau314•Updated 8 months 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