TinyURL API

Just found out today from Jonathan Rochkind that TinyURL (the tool used to shorten urls for posting to sites like twitter) has an API that may be of use to your library.

tinyurl is a simple one-purpose service. And it correspondingly has a delightfully simple “api”. If you ever want to automatically create tinyurls from within an application, you can just request “http://tinyurl.com/api-create.php?url=$URL”, and you get back a text/plain document which contains the created tinyurl (and nothing else). Couldn’t be easier to use.

Learn more from Jonathan.

Leave a Reply