How to link to the iTunes store from iPhone app?

后端 未结 4 486
耶瑟儿~
耶瑟儿~ 2020-12-13 07:47

I am trying to set up an application in which users will be able to stream music. When the user is streaming a MP3, I\'d like to set up a link to the iTunes store to buy the

4条回答
  •  悲哀的现实
    2020-12-13 08:32

    The iTunes Store Web Service Search API (pdf), although old and incomplete, documents how to search for content in the iTunes store and returns a JSON string with results.

    The iTunes Store Web Service Search API allows you to place search fields in your website to search for content within the iTunes Store. You can search for a variety of iTunes Store content; including movies, podcasts, music, music videos, audiobooks, and TV shows. You can also call an ID-based lookup request to create mappings between your content library and the iTunes Store content library.

    Queries are sent to base url:

    http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStoreServices.woa/wa/wsSearch?parameterkeyvalue
    

    Where parameterkeyvalue can be one or more parameter key and value pairs indicating the details of your query.

提交回复
热议问题