API

/api/shorten

Given a long URL, returns a Bitlink.
API Address: https://clacky.org
GET /api/shorten?access_token={access_token}&long_url=https://google.com
{
    "short_url": "https://clacky.org/Owh2",
    "status_code": 200
}

/api/expand

Given a bitly URL or hash (or multiple), returns the target (long) URL.
API Address: https://clacky.org
GET /api/expand?access_token={access_token}&short_url=https://clacky.org/Owh2
{
    "long_url": "https://google.com",
    "status_code": 200
}