loading
 
 

wyn.cc api

The api url structure
http://wyn.cc/api.php?action=[]&url=[]&format=[]

Parameters
action

  • chop (to shorten the link specified for “url”)
  • stats (to get the clicks the wyncc link received )

url

  • (string) url to be shorten or to get the stats for. Please note you need to specify the original link (long one) to get the click amount for the wyncc link

format

  • simple (returns the wyn.cc url if action=chop or the amount the link was clicked if action=stats)
  • xml (not yet fully determined but currently returns ‘url’, ‘oldurl’, ‘status’ if action=chop and ‘url’, ‘clicks’ if action=stats)
  • json (not yet fully determined but currently returns ‘url’, ‘oldurl’, ‘status’ if action=chop and ‘url’, ‘clicks’ if action=stats)

Example:
http://wyn.cc/api.php?action=chop&url=http://www.verylongwineurl.com/veryverylong/&format=simple

Follow Us