TypeScript integration
import Url_shortener from 'url-shortener'; const client = new Url_shortener({ apiKey: "YOUR_API_KEY" });
curl \ -H "x-api-key: $API_KEY" \ https://api.shorten.rest/clicks
curl \ -H "x-api-key: $API_KEY" \ https://api.shorten.rest/aliases
curl \ -H "x-api-key: $API_KEY" \ https://api.shorten.rest/aliases/all