List of Artist Name in iTunes Music Store - ios

I want to get all artist name in iTunes.
I look this page but did not find any solution.
http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html
Is it possible to get list of Artist Name in iTunes Music store?

I do not believe this is possible with the current API. You might be able to "fake" it depending on what you are trying to implement with multiple calls to search but you most likely won't be able to compose a complete list.
Keep in mind the search limit is 200 so you will probably be interested in the cache architecture at the bottom of the documentation: http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html

Related

Working with iTunes Store customer reviews API

I am working with iTunes store's customer reviews API and I have some questions, the general URL is like this:
https://itunes.apple.com/us/rss/customerreviews/id=(APPID)/sortBy=mostRecent/json
I have two questions, the first is I don't want to specify the country, so I remove the country code like this:
// /us/ has been removed from the URL
https://itunes.apple.com/rss/customerreviews/id=(APPID)/sortBy=mostRecent/json
...but still, the reviews and rates belong to the US store, Is there any possible way to get a summary of rates and reviews worldwide?
Secondly, can I change the result sort defined by sortBy=mostRecent?
My third question is if I develop an app which monitors reviews and rates with Apple's official API, does Apple reject my app for reasons like scraping their website or something like that?
Unfortunately, there is no way to get the results for all countries in one go. You have to query each country individually. Here is a list of country codes: https://affiliate.itunes.apple.com/resources/documentation/linking-to-the-itunes-music-store/#CountryCodes
There is no publicly documented way of changing the sort order.
I'd be surprised if you ran into any problems - after all, you're not scraping their website, but using an API they've exposed for that very purpose. Others have been doing it for a long time, e.g. https://reviewbot.io/ or https://appbot.co/. But there's only one way to find out for sure.
You can't get all countries, only the ones you specify, us is default.
There is a limit, of as far as I know, 50 reviews you can get trough
pagination links provided in the las result item.
You can load .../xml or .../json
You can only sort by mostRecent
The first result item is not a review but an app description.
Your last question can only be answered by Apple.
The problem is currently .xml doesn't work and for your question to monitor in bulk, if you know R there's a package in R itunesr that can help solve extract bulk data.

Get app keywords with the iTunes Search API

it looks like at this website https://sensortower.com/ you can easily get the keywords an app publisher inserted when he submitted his app to Apple Store. I searched the docs (http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html) of the Itunes Search API but I could not find any way to get the keywords. How did the do? Am I missing something important?
As far as I know, you cannot query for keywords.
What I think they do (and I am pretty certain) is that they query the app store regularly against a database they hold.
This database might hold keywords based on the descriptions and app titles of existing apps (basically just all words mentioned there). With this information they create random search term combinations and query the search API with it.
Afterwards they "guess" the app's keywords according to the position the app gets in the result list with the specified search terms. The higher its ranking the bigger might be the chance that it actually uses one of these keywords.

Display List of Episodes from List of Podcasts

I am trying to display a list of podcast channels by a particular author. When a podcast is selected, display the relevant episodes. I am able to do each independently, but can't figure out how to bridge the two.
Right now my list of podcasts by author is generated using the iTunes App Store Search API. For example, you can request
#"term" : #"twit", #"media" : #"podcast"
and it will yield all the podcast channels by the author TWiT. It includes a lot of useful metadata via JSON, such as the title, artworkUrl, etc. But no direct link to the podcast that I can find.
I can also display a list of episodes for a specific podcast by parsing the iTunes RSS Tags from a hardcoded channel link that I extract by subscribing to said podcast in iTunes, then right-clicking on it and selecting Copy Podcast URL. TWiT again as an example would yield:
http://feeds.twit.tv/kh_video_hd.xml
Where this seems to fall apart is linking the two. I can't find a way to extract the direct podcast URL from the iTunes App Store JSON metadata.
I have seen the post on Finding the URL for podcast feeds from an iTunes id, but this seems to suggest you can only do it from the Apple supplied feeds from the iTunes Store RSS Generator. It is limited to predefined criteria (e.g. Top Podcasts).
Suggestions or clarifications would be appreciated. The only path I'm seeing right now is to hard code each of the Podcasts channels from my author list.
I think I've found the key. I'm not sure if this is universal, but in the podcasts I've tested with, the JSON results include a feedUrl parameter. Which frustratingly, is not mentioned on the Search API page.
feedUrl = "http://leoville.tv/podcasts/twit.xml";
Passing the value of this feedURL parameter pulled from the search API JSON results, and parsing it as RSS seems to deliver what I need.
Right Here.
"trackViewUrl":"https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?i=120954025&id=120954021&s=143441"
I think.

Getting podcasts to group together

I am developing an app that creates podcasts. They are just .m4a files. However, even though I am setting the album name in the file, I cant seem to get them to group together as a podcast when I load them onto a device. I also set the artist, composer, genre, title, and a couple of other fields. They group properly in iTunes, but seem to all get lumped together in one big generic group on an iPad; the album is being ignored.
Is there a specific tag that needs to get set so iOS will group them in the Podcasts app?
Well, if you're talking about creating what amounts to a Playlist for iOS 6, the new Podcast app does not support that functionality at this time. A quick search shows lots of people complaining about this, so I would say the hope is that this functionality will become available again in a future update. I wish I had better news for you.
Some reference:
https://discussions.apple.com/thread/4312284?start=0&tstart=0
https://discussions.apple.com/thread/4262881?start=30&tstart=0

How do you use iTunes Affiliates Search API to find a song title from a specific artist

I am trying to use the iTunes Affiliate Search API in my iPhone App to search for content within the iTunes Store. An example URL to search for "I Want To Hold Your Hand" is:
http://itunes.apple.com/search?term=i+want+to+hold+your+hand&entity=song
This search finds all songs with the title "I Want To Hold Your Hand". However, I only want to find the songs that are by The Beatles. I tried the following to narrow the search, but it did not work:
http://itunes.apple.com/search?term=i+want+to+hold+your+hand&entity=song&term=beatles&entity=musicartist
This just provides the same result.
How do you construct a URL to find a song title from specific artist using itunes.apple.com/search
Will you be happy with the results if you include "the beatles" into your search term?
http://itunes.apple.com/search?term=the+beatles+i+want+to+hold+your+hand&entity=song
If not, it seems you'll have to do some post processing to the results of the query.

Resources