David Widaman
posted this on July 01, 2011 06:45 pm
The Store API returns a JSON-formatted description of public offers.
URL: http://app.topspin.net/api/v1/offers
You will need to use HTTP authentication to access the API. To get an API key please make a request here:https://app.topspin.net/account/artisthelp
Use your Topspin email login as your username and the API key as your password. You can find both of those in your Artist Profile here: http://app.topspin.net/account/profile/
A request to http://app.topspin.net/offer will return all public offers for artists that the authenticated user has access to. The offers can be filtered by supplying one of more of following parameters:
Offers are returned 25 at a time, sorted by their created date. This can be changed by using the following parameters:
product_type, plays, views, plays
Responses contain paging information and a list containing offer descriptions.
Each offer description has the following keys:
account_product_bundle, other_media, merchandise