Redemption Codes API Follow

API

You can directly create the api url for custom implementation:

Redemption API Request
http://app.topspin.net/api/v1/offers/redeem/<artist-id>/<redemption-code>
Redemption API Response
Successful Redemption:
 { "status": "ok", "download_url": "t.opsp.in/IDsN" }
Unsuccessful Redemption:
 { "status": "error", "message": "some descriptive text"}

Source Code

The source code for the flash widget can be found on GitHub: 
http://github.com/amehta3000/topspin-flash-widget-api

You will need the TSAPI in your classpath, and the source of the Redemption widget is found here:

http://github.com/amehta3000/topspin-flash-widget-api/tree/master/TSWidgets/src/

Have more questions? Submit a request and our team will be able to help get you sorted.
Powered by Zendesk