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=1015&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 11029 results for "api"(930ms)

commentsREADME.md1 match

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

getLikesREADME.md2 matches

@neverstewUpdated 1 year ago
2Fetches information about any val you "like".
3
4Requires 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/getLikes

likesREADME.md1 match

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

getDevToPublicPostsREADME.md1 match

@xkontiUpdated 1 year ago
1Returns a list of posts and their related data for the specified dev.to author. It uses dev.to API.
2
3Migrated from folder: XkontiTech/getDevToPublicPosts

bearFactsREADME.md1 match

@chriscoUpdated 1 year ago
1Public API for 1- to 2-sentence descriptions of numbered bears.
2
3Migrated from folder: bheros/Configuration/bearFacts

openstreetmapAPIexampleREADME.md2 matches

@tmcwUpdated 1 year ago
1# Requesting data from the OpenStreetMap API
2
3The [OpenStreetMap API](https://wiki.openstreetmap.org/wiki/API_v0.6) allows both unauthenticated public reads and writes using authentication tokens. This example shows us getting the first node ever created in the project, which was last edited by [owene](https://www.openstreetmap.org/user/owene).

octokitGraphQLExampleREADME.md1 match

@tmcwUpdated 1 year ago
1# octokit/graphql
2
3This [alternative driver](https://www.npmjs.com/package/@octokit/graphql) for the GitHub API exposes it via GraphQL.

importGistsREADME.md1 match

@maasUpdated 1 year ago
12
131. Github token: https://github.com/settings/tokens
142. Val Town key: https://www.val.town/settings/api
15
16## Usage

importGistsREADME.md1 match

@stevekrouseUpdated 1 year ago
10
111. Github token: https://github.com/settings/tokens
122. Val Town key: https://www.val.town/settings/api
13
14## Usage

queryParamsREADME.md1 match

@neverstewUpdated 1 year ago
1# Handling query params in requests
2
3Using the standard [URL#searchParams](https://developer.mozilla.org/en-US/docs/Web/API/URL/searchParams) method, you can grab query parameters out of any val that is operating using the [Web API](https://docs.val.town/api/web).
4
5This val demonstrates how to grab one or more query parameters. It returns the all the query parameters found as a json response.

daily-advice-app1 file match

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

gptApiTemplate1 file match

@charmaineUpdated 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