Public
Script
Readme

GET /v1/me/likes

Fetches information about any val you "like".

Requires a secret called valtownToken, set to your API Token. See more about authentication to understand how to generate a token.

1
2
3
4
5
6
7
8
import process from "node:process";
import { likes } from "https://esm.town/v/neverstew/likes";
export let getLikes = likes({
token: process.env.valtownToken,
limit: 10,
offset: 0,
});
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
October 23, 2023