Using url-shortener-sdk-python with shorten.rest

Python integration

Install
pip install url-shortener-sdk-python
Quick start
import url-shortener-sdk-python

# Set your API key
client = url_shortener_sdk_python.Client(api_key="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
url-shortener-sdk-python
Python
API
shorten.rest
shorten.rest
At a glance
Language Python
Endpoints7
Base URLhttps://api.shorten.rest