How to get tvOS app store app version using contentMetadataLookup url service?

Issue Description:

Apps that support both iOS and tvOS can have different versions in App Store for each type(iOS and tvOS) but same Bundle Identifier and iTunesStoreID/trackID. For example,

  1. the iOS version of YouTube has the latest version in App Store as 17.30.3
  2. the tvOS version of YouTube has the latest version in App Store as 2.07.01

This can be verified from two by two specific iTunes look Up API as shown below

  1. https://itunes.apple.com/lookup?id=544007664
  2. https://itunes.apple.com/lookup?id=544007664&entity=tvSoftware

Sample contentMetadataLookup URL: https://uclient-api.itunes.apple.com/WebObjects/MZStorePlatform.woa/wa/lookup?version=2&id=544007664&p=mdm-lockup&caller=MDM&platform=enterprisestore&cc=us&l=en

Queries:

  1. What should we do to get the tvOS specific version of an app in contentMetadataLookup URL?
  2. The trackViewURL doesn't show tvOS specific version history of the app - https://apps.apple.com/us/app/youtube-watch-listen-stream/id544007664?platform=appleTV . How should we view this the apps' tvOS specific version history?

Kindly help us with the queries.

Answered by Frameworks Engineer in 723629022

Hey,

To retrieve tvOS specific metadata for an app using the contentMetadataLookup please try using platform=atv9.

https://uclient-api.itunes.apple.com/WebObjects/MZStorePlatform.woa/wa/lookup?version=2&id=544007664&p=mdm-lockup&caller=MDM&platform=atv9&cc=us&l=en

Best, Austin

Accepted Answer

Hey,

To retrieve tvOS specific metadata for an app using the contentMetadataLookup please try using platform=atv9.

https://uclient-api.itunes.apple.com/WebObjects/MZStorePlatform.woa/wa/lookup?version=2&id=544007664&p=mdm-lockup&caller=MDM&platform=atv9&cc=us&l=en

Best, Austin

How to get tvOS app store app version using contentMetadataLookup url service?
 
 
Q