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=1656&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 18287 results for "api"(4685ms)

apiLogmain.tsx1 match

@healeycodes•Updated 1 year ago
1export let apiLog = (req, res) => {
2 console.log(req, res);
3 res.send(JSON.stringify({ req, res }));

myApimain.tsx1 match

@justwph•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

postWebhookTest1main.tsx1 match

@val•Updated 1 year ago
2
3export let postWebhookTest1 = fetchJSON(
4 "https://api.val.town/express/@stevekrouse.postWebhook1",
5 {
6 method: "POST",

githubEventsmain.tsx1 match

@rcoady•Updated 1 year ago
3// GitHub events
4export let githubEvents = fetchJSON(
5 "https://api.github.com/users/stevekrouse/events"
6);

getLocationEntitiesmain.tsx1 match

@ryanbateman•Updated 1 year ago
3
4export let getLocationEntities = async (text) => {
5 const URL = `https://language.googleapis.com/v1beta2/documents:analyzeEntities?key=${process.env.googleAPIKey}`;
6 const bodyText = {
7 document: {

myApimain.tsx1 match

@mateuszrusyn•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@jasonw•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

myApimain.tsx1 match

@cufaoil•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

githubEventsmain.tsx1 match

@jamesdury•Updated 1 year ago
3export const githubEvents = (username) =>
4 fetchJSON(
5 `https://api.github.com/users/${username}/events`
6 );

myApimain.tsx1 match

@AlexSwensen•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

github-api1 file match

@cricks_unmixed4u•Updated 17 hours ago

beeminder-api4 file matches

@cricks_unmixed4u•Updated 18 hours ago
apiry
Kapil01