shortest_api shorte.st api wrapper | payout $KEY = 'YOUR-KEY'; $shortest = new shortest($KEY); $link = $shortest->__get('http://www.google.com'); Response {"status":"ok","shortenedUrl":"http:\/\/sh.st\/XXXX"}