beats by dre cyber monday beats by dre black friday uggs cyber monday legend blue 11s uggs black friday black infrared 6s jordan 13 barons north face black friday uggs cyber monday bred 13s north face black friday uggs black friday barons 13s jordan 11 legend blue north face cyber monday north face cyber monday michael kors black friday jordan 6 black infrared north face cyber monday black infrared 6s coach black friday beats by dre black friday lululemon cyber monday beats by dre cyber monday coach black friday michael kors cyber monday lebron 12 north face cyber monday beats by dre black friday uggs cyber monday jordan 13 grey toe jordan 13 barons lululemon cyber monday north face cyber monday jordan 6 black infrared lululemon cyber monday jordan 6 black infrared michael kors cyber monday michael kors black friday north face black friday jordan 6 black infrared louis vuitton outlet michael kors cyber monday uggs black friday michael kors black friday jordan 11 legend blue coach black friday north face cyber monday black infrared 6s michael kors black friday coach black friday jordan 6 black infrared north face black friday lebron 12 bred 13s jordan 11 legend blue north face cyber monday beats by dre cyber monday north face cyber monday coach cyber monday shrinkURL - API wrapper for URL shortening services

projects

openExchangeRateCFC
instagramCFC
foursquareCFC
pastebinCFC
dribbbleCFC
textCounter
tumblrCFC
shrinkURL
Shrinkadoo
picasaCFC
Filler Text
52 Week Bible Planner
jQuery table filter
deep thoughts

you should

visit andyMatthews.net
follow me on Twitter

shrinkURL

shrinkURL was created out of a need to access the API of multiple URL shortening services. It's a small library which gathers the APIs of multiple services into one wrapper, which just one method to call for all.

Want to try it out? Head on over to Shrinkadoo

Documentation

  • Usage is as follows
  • Call the CFC:
    • <cfset shrinkURL = CreateObject('component','shrinkURL').init()>
  • Get a list of available services (currently 18 and counting):
    • <cfset services = shrinkURL.listServices()>
  • Call the service you'd like, passing in a packet of data such as URL, login, or password
  • Using the is.gd service
    • <cfset myURL = 'http://www.cnn.com'>
    • <cfset isGDData = StructNew()>
    • <cfset isGDData['longurl'] = myURL>
    • <cfset shortURL = shrinkURL.shrink('isGD',isGDData)>
  • Using the Snurl service
    • <cfset myURL = 'http://www.cnn.com'>
    • <cfset snurlData = StructNew()>
    • <cfset snurlData['snipuser'] = 'user'> // Snurl needs user and APIkey
    • <cfset snurlData['snipapi'] = 'apikey'>
    • <cfset snurlData['sniplink'] = myURL>
    • <cfset shortURL = shrinkURL.shrink('Snurl',snurlData)>
  • Returns a string
  • Current version is 0.6

Download project from RIAForge.org

lebron 12 black infrared 6s uggs black friday jordan 6 black infrared north face black friday black infrared 6s north face cyber monday barons 13s jordan 6 black infrared coach black friday jordan 6 black infrared north face black friday beats by dre black friday beats by dre black friday beats by dre black friday north face black friday michael kors black friday coach cyber monday michael kors black friday jordan 11 legend blue uggs black friday lululemon cyber monday uggs black friday beats by dre black friday north face cyber monday uggs black friday jordan 11 legend blue uggs black friday jordan 6 black infrared black infrared 23 13s beats by dre cheap uggs black friday north face black friday beats by dre cyber monday black infrared 23 13s jordan 11 legend blue north face black friday north face cyber monday michael kors black friday louis vuitton outlet north face black friday jordan 6 black infrared michael kors cyber monday north face cyber monday coach cyber monday beats by dre black friday michael kors cyber monday michael kors black friday north face black friday north face cyber monday uggs black friday lebron 12 grey toe 13s coach cyber monday north face cyber monday jordan 6 black infrared coach cyber monday michael kors outlet online michael kors black friday uggs cyber monday