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/?q=api&page=1014&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 11043 results for "api"(894ms)

openaiFineTuneREADME.md1 match

@stevekrouseUpdated 1 year ago
1Migrated from folder: External_APIs/openai/openaiFineTune

openaiUploadFileREADME.md1 match

@stevekrouseUpdated 1 year ago
1Migrated from folder: External_APIs/openai/openaiUploadFile

blogRSSREADME.md1 match

@stevekrouseUpdated 1 year ago
14
15* This is very inefficient. It refetches and re-parses blog.val.town on every single request, modulo some caching via the headers. It would be much more efficient to cache the results of fetching and parsing the Val Town blog, and then only re-fetch it every 10 minutes or so.
16* Instead of fetching and parsing HTML from super.so, we could get this same data from Notion's API, with a val like @stevekrouse.notionGetDatabase.
17
18Migrated from folder: Archive/blogRSS

SignatureCheckREADME.md1 match

@karfauUpdated 1 year ago
39 - it can throws errors instead of just returning `false`, which can be triggered by sending an invalid signature
40 - it can be lured into checking a SHA1 signature if the signature header starts with `sha1=`
41- you need to pass the secret and payload as argument to the val, which makes them appear in the evaluation logs you produce ([they are only visible for the author of the val if you run them as an API](https://docs.val.town/permissions), but it still feels odd to see the secret in the evaluation logs.)
42- parameters are all of type string and the order can be confused
43- you can not use fallback secrets for rotating

pageApiREADME.md1 match

@mgruelUpdated 1 year ago
1Migrated from folder: common/pageApi

paginateAPIREADME.md1 match

@mgruelUpdated 1 year ago
1Migrated from folder: common/paginateAPI

getValVersionREADME.md2 matches

@neverstewUpdated 1 year ago
2Returns information about a specific version of a val.
3
4To access private vals this requires a secret called valtownToken, set to your API Token. See more about [authentication](https://docs.val.town/api/authentication) to understand how to generate a token.
5
6Migrated from folder: docs/api/getValVersion

valVersionREADME.md1 match

@neverstewUpdated 1 year ago
1Migrated from folder: docs/api/valVersion

getValVersionsREADME.md2 matches

@neverstewUpdated 1 year ago
2Returns information about each version of a specific val.
3
4To access private vals this requires a secret called valtownToken, set to your API Token. See more about [authentication](https://docs.val.town/api/authentication) to understand how to generate a token.
5
6Migrated from folder: docs/api/getValVersions

valVersionsREADME.md1 match

@neverstewUpdated 1 year ago
1Migrated from folder: docs/api/valVersions

daily-advice-app1 file match

@dcm31Updated 2 days ago
Random advice app using Advice Slip API

gptApiTemplate1 file match

@charmaineUpdated 4 days ago
socialdata
Affordable & reliable alternative to Twitter API: ➡️ Access user profiles, tweets, followers & timeline data in real-time ➡️ Monitor profiles with nearly instant alerts for new tweets, follows & profile updates ➡️ Simple integration
artivilla
founder @outapint.io vibe coding on val.town. dm me to build custom vals: https://artivilla.com