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/image-url.jpg%20%22Optional%20title%22?q=api&page=1155&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 12456 results for "api"(2983ms)

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

deleteValExampleREADME.md2 matches

@neverstewUpdated 1 year ago
2Deletes a specific val.
3
4Pass your API token as a secret to the function. Read more about [authentication](https://docs.val.town/api/authentication) to understand how to generate a token and save it as a secret.
5
6Migrated from folder: docs/api/deleteValExample

deleteValREADME.md1 match

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

isRequestREADME.md1 match

@karfauUpdated 1 year ago
1A type guard for vals that expect a WebApi `Request` as the first parameter.
2
3Since a val can be invoked by run, web, express or even email, the correct type for a web endpoint should be `req?: Request | unknown`.

vapi-minutes-db2 file matches

@henrywilliamsUpdated 4 hours ago

social_data_api_project3 file matches

@tsuchi_yaUpdated 3 days ago
papimark21
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