Using dublet with shorten.rest

TypeScript integration

Install
npm install dublet
Quick start
import Dublet from 'dublet';

const client = new Dublet({ apiKey: "YOUR_API_KEY" });
Get clicks
curl \
  -H "x-api-key: $API_KEY" \
  https://api.shorten.rest/clicks
Get alias
curl \
  -H "x-api-key: $API_KEY" \
  https://api.shorten.rest/aliases
Get aliases by domain
curl \
  -H "x-api-key: $API_KEY" \
  https://api.shorten.rest/aliases/all
SDK on GitHub 📄 API Docs
SDK
dublet
TypeScript
API
shorten.rest
shorten.rest
At a glance
Language TypeScript
Endpoints7
Base URLhttps://api.shorten.rest