I am doing a very simple search using iTunes api to try to retrieve a list of podcast of a certain user, the result only shows 1 but the track list is 25. Is there any way to view all “tracks”?
I was able to reproduce the following result using the URL in your comment below:
{
"resultCount": 1,
"results": [
{
"wrapperType": "track",
"kind": "podcast",
"collectionId": 1157898727,
"trackId": 1157898727,
"artistName": "Phoenix FM",
"collectionName": "The West Ham Way on Phoenix FM",
"trackName": "The West Ham Way on Phoenix FM",
"collectionCensoredName": "The West Ham Way on Phoenix FM",
"trackCensoredName": "The West Ham Way on Phoenix FM",
"collectionViewUrl": "https://itunes.apple.com/us/podcast/the-west-ham-way-on-phoenix-fm/id1157898727?mt=2&uo=4",
"feedUrl": "http://feeds.feedburner.com/TheWestHamWayOnPhoenixFm",
"trackViewUrl": "https://itunes.apple.com/us/podcast/the-west-ham-way-on-phoenix-fm/id1157898727?mt=2&uo=4",
"artworkUrl30": "https://is1-ssl.mzstatic.com/image/thumb/Music42/v4/b1/c0/76/b1c076ed-e555-af3b-3f09-5dfc379da0cb/source/30x30bb.jpg",
"artworkUrl60": "https://is1-ssl.mzstatic.com/image/thumb/Music42/v4/b1/c0/76/b1c076ed-e555-af3b-3f09-5dfc379da0cb/source/60x60bb.jpg",
"artworkUrl100": "https://is1-ssl.mzstatic.com/image/thumb/Music42/v4/b1/c0/76/b1c076ed-e555-af3b-3f09-5dfc379da0cb/source/100x100bb.jpg",
"collectionPrice": 0,
"trackPrice": 0,
"trackRentalPrice": 0,
"collectionHdPrice": 0,
"trackHdPrice": 0,
"trackHdRentalPrice": 0,
"releaseDate": "2019-01-23T22:03:00Z",
"collectionExplicitness": "cleaned",
"trackExplicitness": "cleaned",
"trackCount": 25,
"country": "USA",
"currency": "USD",
"primaryGenreName": "Professional",
"contentAdvisoryRating": "Clean",
"artworkUrl600": "https://is1-ssl.mzstatic.com/image/thumb/Music42/v4/b1/c0/76/b1c076ed-e555-af3b-3f09-5dfc379da0cb/source/600x600bb.jpg",
"genreIds": [
"1465",
"26",
"1316"
],
"genres": [
"Professional",
"Podcasts",
"Sports & Recreation"
]
}
]
}
According to this answer by juhariis, you'll need to hit the feedURL (in this case, "http://feeds.feedburner.com/TheWestHamWayOnPhoenixFm") in the result to get access to the actual episodes.
There are probably language or framework-specific packages you to help you out with this.
I hope this helps!
Old Answer
Are you sure your search URL doesn't look like this: https://itunes.apple.com/search?term=firstname+lastname&limit=1?
According to the iTunes Web Service Search API documentation, the limit parameter isn't required in the request URL, so you can simply remove the "&limit=1" part of the query string:
To search for all Jack Johnson audio and video content (movies, podcasts, music, music videos, audiobooks, short films, and tv shows), your URL would look like the following:
https://itunes.apple.com/search?term=jack+johnson
Related
I am using YouTube Data's Search API v3 to fetch videos. I am able to fetch videos properly with the below mentioned HTTPS GET request. But this API is listing paid videos too, like the one having the ID FKUvkKsTzV8. That I would like to skip from fetching.
I have gone through the Search API documentation, but was unable to identify the filter for fetching only free videos -- not paid videos.
Please suggest me the filter to fetch only free videos from Search API, if any.
Here is the URL of my HTTPS GET request:
https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=5&q=frozen&key=[My api key]&type=video&order=relevance
Edited with more information:
The given video is an example, which will play in some regions only. So adding some more similar to the above mentioned video. I would like to skip these kind of videos from my search result.
https://www.youtube.com/watch?v=ZMWjixQbqXY
https://www.youtube.com/watch?v=Zat88Rsxp94
https://www.youtube.com/watch?v=2YQ9W0BP2Gw
The videos which are free to play is given below
https://www.youtube.com/watch?v=7TavVZMewpY
Looking into the Videos resource meta-data attached to the videos of which ID you mentioned within your question, I deduce that your issue may be reformulated as follows:
Do use the Search.list API endpoint for to search for videos -- using the parameter q as needed --, but exclude from the result set that's provided by the endpoint those videos that are not allowed to be viewed in certain (given) regions.
The Videos resource attached to each video does contain the info that specifies that particular condition above, namely the properties:
contentDetails.regionRestriction (object)
The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property.
contentDetails.regionRestriction.allowed[] (list)
A list of region codes that identify countries where the video is viewable. If this property is present and a country is not listed in its value, then the video is blocked from appearing in that country. If this property is present and contains an empty list, the video is blocked in all countries.
contentDetails.regionRestriction.blocked[] (list)
A list of region codes that identify countries where the video is blocked. If this property is present and a country is not listed in its value, then the video is viewable in that country. If this property is present and contains an empty list, the video is viewable in all countries.
Unfortunately, one cannot specify explicitly to the Search.list endpoint a filter based on these properties.
Nevertheless, you may retain as much IDs as you can from Search.list and then query the Videos.list API endpoint for precisely these properties with the purpose of filtering out programatically the videos that are not viewable in the regions of your interest.
The URL that will invoke the Videos.list endpoint would look like:
https://www.googleapis.com/youtube/v3/videos?key=$APP_KEY&id=$VIDEO_IDS&part=contentDetails,id&fields=items(id,contentDetails(regionRestriction))&maxResults=$VIDEO_COUNT
where $APP_KEY is your API key, $VIDEO_IDS is a comma-separated list of video IDs and $VIDEO_COUNT is the number of video IDs that $VIDEO_IDS contains. (Note that $VIDEO_COUNT should not exceed 50.)
Note that the URL above is using the parameter fields for to obtain from the endpoint only the properties that are of actual use. (It's always good to ask from the API only the info that is really needed.)
When setting $VIDEO_COUNT to 5 and $VIDEO_IDS to
FKUvkKsTzV8,ZMWjixQbqXY,Zat88Rsxp94,2YQ9W0BP2Gw,7TavVZMewpY
within the URL above, Videos.list returns the following JSON text:
{
"items": [
{
"id": "FKUvkKsTzV8",
"contentDetails": {
"regionRestriction": {
"allowed": [
"BE",
"NL"
]
}
}
},
{
"id": "ZMWjixQbqXY",
"contentDetails": {
"regionRestriction": {
"allowed": [
"NL"
]
}
}
},
{
"id": "Zat88Rsxp94",
"contentDetails": {
"regionRestriction": {
"allowed": [
"BE",
"NL"
]
}
}
},
{
"id": "2YQ9W0BP2Gw",
"contentDetails": {
"regionRestriction": {
"allowed": [
"PE",
"KG",
"PA",
"PL",
"PH",
"TZ",
"TW",
"TH",
"TJ",
"TM",
"PY",
"KZ",
"GR",
"CY",
"GT",
"CZ",
"CV",
"CR",
"GA",
"CL",
"CO",
"CI",
"SN",
"SI",
"SK",
"SE",
"NP",
"KH",
"NI",
"ID",
"NO",
"NL",
"NA",
"NE",
"PT",
"BZ",
"BY",
"BW",
"BO",
"BJ",
"BF",
"BE",
"ZW",
"MU",
"MT",
"VE",
"EE",
"EC",
"IS",
"MD",
"RW",
"ML",
"AZ",
"ZM",
"LV",
"AR",
"AO",
"AM",
"TG",
"SG",
"DK",
"LT",
"UZ",
"UY",
"DO",
"HU",
"LA",
"HN",
"UG",
"LK",
"UA",
"FI",
"SV"
]
}
}
},
{
"id": "7TavVZMewpY",
"contentDetails": {}
}
]
}
This response indicates that the video identified by FKUvkKsTzV8 is viewable only in NL and BE regions, while the video identified by 7TavVZMewpY has no region restrictions at all (i.e. is freely-viewable everywhere).
Now, it's quite simple to access the properties under the object items[].contantDetails.regionRestriction for to exclude from a filtered result set those video IDs that are not viewable within the regions of your interest.
Addendum
Not sure that what follows will help, but nevertheless, I'll have to mention that the Search.list endpoint does have the following parameter:
regionCode (string)
The regionCode parameter instructs the API to return search results for videos that can be viewed in the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.
The above official specification does not indicate whether regionCode allows one to specify a set of regions, or, otherwise, how to specify to regionCode the set of all regions.
I'm using Apple Music API's recent played endpoint which returns a list of recently played media assets.
I'm then using one of them and play it on MPMusicPlayerController.
{
"id": "1437591818",
"type": "albums",
"href": "/v1/catalog/us/albums/1437591818",
"attributes": {
"artwork": {
"width": 3000,
"height": 3000,
"url": "https://is2-ssl.mzstatic.com/image/thumb/Music118/v4/46/e9/60/46e9606c-59ec-1243-c377-2089c303dacf/00602577153884.rgb.jpg/{w}x{h}bb.jpeg",
"bgColor": "000000",
"textColor1": "faf0ee",
"textColor2": "ecd0d3",
"textColor3": "c8c0be",
"textColor4": "bca6a9"
},
"artistName": "Lil Wayne",
"isSingle": false,
"url": "https://itunes.apple.com/us/album/tha-carter-v/1437591818",
"isComplete": true,
"genreNames": [
"Hip-Hop/Rap",
"Music"
],
"trackCount": 23,
"isMasteredForItunes": true,
"releaseDate": "2018-09-28",
"name": "Tha Carter V",
"recordLabel": "Young Money Records, Inc.",
"copyright": "℗ 2018 Young Money Records, Inc.",
"playParams": {
"id": "1437591818",
"kind": "album"
},
"editorialNotes": {
"standard": "Maybe more than any other rapper in history, Lil Wayne’s output is defined by franchises. An artist should be so lucky to sustain the kind of longevity that would allow for multi-volume phases the likes of Wayne’s <i>Dedication</i>, and <i>Da Drought</i> mixtapes, let alone the series that made him into a superstar, <i>Tha Carter</i>. Though Wayne was not without projects in between, some seven years were allowed to pass between the release of the fourth and fifth installments of the lattermost. Fortunately, Wayne has rewarded his fans’ patience with 23 tracks that speak to a number of his most storied eras.<br />\n“Mixtape Weezy,” as Jay-Z famously coined, is alive and well on songs like the Swizz Beatz-produced “Uproar,” Wayne blacking out over a reinterpretation of G-Dep’s 2001 hit “Special Delivery.” The nostalgia doesn’t stop (or peak) there, as Wayne and Snoop Dogg share space over a flip of Dr. Dre’s “Xxplosive” on “Dope N*ggaz,” while Mannie Fresh revisits the Cash Money golden-era bounce of Juvenile’s “Ghetto Children” for “Start This Shit Off Right.” There are nods to the experimental Wayne of the <i>I Am Not A Human Being</i> projects (“Don’t Cry,” “Mess”) and also the rapper’s under-heralded pop wizardry (“Famous,” which features his daughter Reginae as hook singer), and even a love song built on a gospel sample, “Dope New Gospel.” In all, <i>Tha Carter V</i> is an album for anyone who’s missed Wayne—no matter which Wayne they’d missed.",
"short": "Weezy F Baby, and the F is for finally."
},
"contentRating": "explicit"
}
},
Whenever I want to access the metadata of what's currently playing, I can get it with the nowPlayingItem property which returns a MPMediaItem of the current track within the album.
The artwork property of this MPMediaItem is null, so I want to access the album's artwork. I can get the albumPersistentStoreId (3911653000682848550 for example) and I'm using it to request the album info via the Apple Music API:
https://api.music.apple.com/v1/catalog/us/albums/3911653000682848550
But this returns a "Resource not Found" error message.
Using the search endpoint (https://api.music.apple.com/v1/catalog/us/search?term=the+carter+v&limit=2&types=artists,albums) or the original recently played endpoint I see that the album ID returned in these is different than the one I get in the albumPersistentStoreId property. How can I get the proper album ID from the MPMediaItem?
You could use the playbackstoreID of the MPMediaItem - request track info from the API and get the album art from there.
Is there any way of getting a list of albums for an artist (band), along with a link to album art and runtime?
I've been given this endpoint, but the data it returns is confusing:
http://musicbrainz.org/ws/2/recording?query=artist:%22Queen%22%20and%20type:album&fmt=json
The data isn't really organized around albums, and the "length" data returns something like 203000. But it's better if you see it in context, so here's the first bit of it (sorry I couldn't get it indented):
{
"created": "2018-02-17T03:47:57.052Z",
"count": 9533710,
"offset": 0,
"recordings": [
{
"id": "c2e919f7-ecb9-4fdf-9162-3c26d0127fa0",
"score": "100",
"title": "Son and Daughter",
"length": 203000,
"video": null,
"artist-credit": [
{
"artist": {
"id": "0383dadf-2a4e-4d10-a46a-e9e041da8eb3",
"name": "Queen",
"sort-name": "Queen",
"disambiguation": "UK rock group",
"aliases": [
{
"sort-name": "Queen + Adam Lambert",
"name": "Queen + Adam Lambert",
"locale": null,
"type": null,
"primary": null,
"begin-date": "2011",
"end-date": null
}
]
}
}
],
"releases": [
{
"id": "bb19abaf-80b3-4a3e-846d-5f12b12af827",
"title": "Queen",
"status": "Official",
"release-group": {
"id": "810068af-2b3c-3e9c-b2ab-68a3f3e3787d",
"primary-type": "Album"
},
"date": "1994",
"country": "NL",
"release-events": [
{
"date": "1994",
"area": {
"id": "ef1b7cc0-cd26-36f4-8ea0-04d9623786c7",
"name": "Netherlands",
"sort-name": "Netherlands",
"iso-3166-1-codes": [
"NL"
]
}
}
],
"track-count": 10,
"media": [
{
"position": 1,
"format": "CD",
"track": [
{
"id": "3a26455e-2660-30dc-a652-6a2b40f1fbe5",
"number": "8",
"title": "Son and Daughter",
"length": 203400
}
],
"track-count": 10,
"track-offset": 7
}
]
},
{
"id": "1783da6a-9315-3602-a488-1738eb733a0f",
"title": "Queen",
"status": "Official",
"release-group": {
"id": "810068af-2b3c-3e9c-b2ab-68a3f3e3787d",
"primary-type": "Album"
},
"date": "1973-09-04",
"country": "US",
"release-events": [
{
"date": "1973-09-04",
"area": {
"id": "489ce91b-6658-3307-9877-795b68554c98",
"name": "United States",
"sort-name": "United States",
"iso-3166-1-codes": [
"US"
]
}
}
],
If someone can explain this data to me, then I don't need another endpoint. But I've been hunting around the musicbrainz docs and they're not super helpful.
Preferably it would be with one call, but I can do successive calls if necessary.
Thanks for your help.
First off:
Is there any way of getting a list of albums for an artist (band), along with a link to album art and runtime?
Yes, definitely.
First you will want to find the artist, say, the Queen that did Bohemian Rhapsody. They're identified with MusicBrainz Artist ID "0383dadf-2a4e-4d10-a46a-e9e041da8eb3", so you can do a browse request for Releases by this artist: https://musicbrainz.org/ws/2/release/?artist=0383dadf-2a4e-4d10-a46a-e9e041da8eb3&inc=recordings&fmt=json (note the inc=recordings)
This gives you most of what you are asking for. A list of releases and their runtime—kind of. Each Release should have one or more medium properties that in turn have a track-list with a number of tracks. The sum of the length of each of these tracks is what makes up the runtime (the length is given in milliseconds).
For cover art, you may notice that the output has a cover-art-archive property. For cover art, MusicBrainz uses Cover Art Archive which uses MusicBrainz IDs as identifiers. The cover-art-archive attribute states whether any cover art exists in Cover Art Archive and a few details about this—e.g., does CAA have any images at all (artwork)? Does it have a back image (back) and/or a front image (front)? How many images are there in all for the release (count)? If the cover-art-archive→artwork is true, we can go on and fetch cover art from the CAA. The CAA's API is really simple: to get the "front" image of a release, say the 1974 UK single "Killer Queen" that has MusicBrainz Release ID "a2d12ee8-9aeb-4d91-bfab-5c21f7a577fc", you can simply do https://coverartarchive.org/release/a2d12ee8-9aeb-4d91-bfab-5c21f7a577fc/front
You can also do https://coverartarchive.org/release/a2d12ee8-9aeb-4d91-bfab-5c21f7a577fc to get a JSON document with more details about what cover art images are available (e.g., this one has two images: one Front+Medium and one Back+Medium image).
The Cover Art Archive API is documented at https://musicbrainz.org/doc/Cover_Art_Archive/API and the MusicBrainz API/web service documentation can be found at https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2
Note that using browse requests you can page through the results using offset and vary the amount of results per query using limit, see the "Paging" section under the browse request section in the MusicBrainz WS documentation.
Secondly: Though you don't ask about this directly, you're using a search query using a generic term in your question, so I thought I'd talk about this for a bit. In MusicBrainz everything is identified using MusicBrainz identifiers (IDs). (I kind of mentioned them in the first section too.)
The reason for this is that many, many names are not unique. There are as of this writing three unique artists known as "Queen" in MusicBrainz: https://musicbrainz.org/search?query=%22queen%22&type=artist&method=advanced – not counting any of the 321 other artists that have "queen" as part of their name. Without more information, it is not possible for MusicBrainz to know which of them you want to find out information from, so your first step will likely be to somehow either narrow the search (e.g., add type:group narrows the search to 123 results, using country:gb limits to 21 results, doing both gives 11 results (see the search syntax documentation for more details)) or somehow filter afterwards.
Once you've narrowed it down to the specific artist you want, you can continue with the steps outlined above to get the details you want. The steps for narrowing it down will depend on your specific application/use case.
Finally: You seem to have some missing understanding at the asbstract level about how MusicBrainz's data is structured. E.g., all of the above is assuming that by album you mean a specific released version like the 1974 UK "Killer Queen" single, and not a more generic concept of a release like any version of the "Killer Queen" single, which in MusicBrainz terminology would be a Release Group.
https://musicbrainz.org/doc/MusicBrainz_Entity is a list of entities used in MusicBrainz. Understanding the differences between a Release Group and a Release as well as between Tracks and Recordings (and Works) will put you in a much better position to effectively use the web service and the MusicBrainz data in general.
https://musicbrainz.org/doc/MusicBrainz_Database/Schema is a introduction to how MusicBrainz is structured. Knowing how artist credits, ("advanced") relationships, and mediums play into things is also likely to save you a lot of headache later.
You need to understand the format of the data returned, copy the result in to a JSON formatting service such as https://jsonformatter.curiousconcept.com/
You will then realise you have multiple artists in the returned data, which is why it's not as simple as "albums by artist"
I’m guessing the "length" data is in milliseconds.
Is it possbile to get In-app (or subscription) information (at least price, currency) for iOS application by bundle id or product id from server side?
I know that iOS clients possible to do it using their SDK.
Maybe exists service like iTunes Lookup API?
In StoreKit you have SKProduct and there you have the price
You can check it here
https://developer.apple.com/library/ios/documentation/StoreKit/Reference/StoreKit_Collection/
I think the answer is no, they intend you to fetch the IAPs from within the app. Here is an example of what is returned from the iTunes affiliate search API. AFAIK there is no other API to query app information. They don't mention other ways in their guide to obtaining IAP information.
http://itunes.apple.com/lookup?id=828578246
{
"resultCount": 1,
"results": [
{
"isGameCenterEnabled": true,
"screenshotUrls": [
"http://a2.mzstatic.com/us/r30/Purple49/v4/67/01/ff/6701ff5c-55d3-0ea6-d868-8d803072483b/screen696x696.jpeg",
"http://a2.mzstatic.com/us/r30/Purple69/v4/7c/14/5f/7c145fc0-d7af-cfce-eede-f35ad50a779e/screen696x696.jpeg",
"http://a3.mzstatic.com/us/r30/Purple69/v4/cc/0a/43/cc0a4393-a006-f485-a4b5-59049b16da18/screen696x696.jpeg",
"http://a5.mzstatic.com/us/r30/Purple69/v4/e1/76/23/e1762373-849f-9935-7880-34b62365db8c/screen696x696.jpeg",
"http://a5.mzstatic.com/us/r30/Purple69/v4/84/2f/63/842f635e-ccb1-7802-3fc3-020024a8d786/screen696x696.jpeg"
],
"ipadScreenshotUrls": [
"http://a2.mzstatic.com/us/r30/Purple69/v4/26/ea/ca/26eacabe-8606-de7e-c49a-aeb961c44a22/sc1024x768.jpeg",
"http://a4.mzstatic.com/us/r30/Purple49/v4/11/60/5a/11605ad9-c93a-92d2-2abf-faff83c7e5e4/sc1024x768.jpeg",
"http://a4.mzstatic.com/us/r30/Purple69/v4/bb/b5/8e/bbb58e8a-f6fb-7a4d-e6b9-02ad3007d601/sc1024x768.jpeg",
"http://a2.mzstatic.com/us/r30/Purple69/v4/82/d5/34/82d53417-01aa-e6eb-f0f6-c57e76dae3d9/sc1024x768.jpeg",
"http://a4.mzstatic.com/us/r30/Purple49/v4/04/ad/f4/04adf415-1a40-58b6-6d82-6e47394668e4/sc1024x768.jpeg"
],
"appletvScreenshotUrls": [],
"artworkUrl60": "https://is4-ssl.mzstatic.com/image/thumb/Purple71/v4/14/68/e7/1468e7e9-9dc8-4493-2738-bba066cd03c4/source/60x60bb.jpg",
"artworkUrl512": "https://is4-ssl.mzstatic.com/image/thumb/Purple71/v4/14/68/e7/1468e7e9-9dc8-4493-2738-bba066cd03c4/source/512x512bb.jpg",
"artworkUrl100": "https://is4-ssl.mzstatic.com/image/thumb/Purple71/v4/14/68/e7/1468e7e9-9dc8-4493-2738-bba066cd03c4/source/100x100bb.jpg",
"artistViewUrl": "https://itunes.apple.com/us/developer/big-fish-games-inc/id292594310?uo=4",
"kind": "software",
"features": [
"gameCenter",
"iosUniversal"
],
"supportedDevices": [
"iPhone4",
"iPad2Wifi",
"iPad23G",
"iPhone4S",
"iPadThirdGen",
"iPadThirdGen4G",
"iPhone5",
"iPodTouchFifthGen",
"iPadFourthGen",
"iPadFourthGen4G",
"iPadMini",
"iPadMini4G",
"iPhone5c",
"iPhone5s",
"iPhone6",
"iPhone6Plus",
"iPodTouchSixthGen"
],
"advisories": [],
"trackCensoredName": "Gummy Drop!",
"userRatingCountForCurrentVersion": 325,
"sellerUrl": "http://www.bigfishgames.com/mobile-games/ios-games/",
"contentAdvisoryRating": "4+",
"languageCodesISO2A": [
"NL",
"EN",
"FR",
"DE",
"IT",
"JA",
"KO",
"PT",
"RU",
"ES"
],
"fileSizeBytes": "89165452",
"averageUserRatingForCurrentVersion": 4.5,
"trackViewUrl": "https://itunes.apple.com/us/app/gummy-drop!/id828578246?mt=8&uo=4",
"trackContentRating": "4+",
"minimumOsVersion": "7.0",
"formattedPrice": "Free",
"currency": "USD",
"wrapperType": "software",
"version": "2.14.0",
"artistId": 292594310,
"artistName": "Big Fish Games, Inc",
"genres": [
"Games",
"Arcade",
"Puzzle",
"Entertainment"
],
"price": 0,
"description": "Stop crushing & start squishing! Match your way around this candy world! LET’S GO GUMMY! ®\n\nTravel WHEREVER and WHENEVER you want! From Sydney to Tokyo, San Francisco, New York City, Paris, London, Rome, Berlin, New Orleans, Barcelona, Shanghai, Los Angeles, Seoul, Havana, Rio de Janeiro, St. Petersburg, Mexico City, Cape Town, Budapest, Tahiti, Cairo, Marrakesh, Dubai, Bangkok, Athens, Amsterdam, Hawaii, Hong Kong, Singapore, New Delhi, Venice and more coming soon!\n\nFEATURES\n• Play over 10,000 gummified levels across dozens of world cities – MORE levels than any other Match-3 game!\n• Travel to any city, anytime! Earn travel vouchers to unlock the city of your choice.\n• Exciting Achievements! See your accomplishments in your Passport.\n• Unique boosts! Including Shuffle, Lightning, Shovel, and more!\n• Huge rewards! Score in-game items just for playing.\n• Daily Events! Collect sweet bursts of resources and rewards.\n\nREVIEWS\nBetter than Candy Crush (5 STARS)\nLove the way the game travels around the world.\n\nFinally a Straight Up Game Experience (5 STARS)\nThis is an amazing game that is what it says - FREE. You can keep playing a challenging de-stressor without any bait and switch. Love It!!!!!!!!\n\nFun game (5 STARS)\nThis game starts easily and increases in difficulty as you get better. Fun to watch the cities grow as you add details.\n\nCan’t get enough of Gummy Drop! ? Visit our Headquarters, like us on Facebook of follow us on Twitter for sweet musings, matching tips, gummy stories, and tasty giveaways!\n\nGummy Drop! Headquarters: www.bigfishgames.com/gummyHQ \nFacebook: Search Gummy Drop \nTwitter: #GummyDrop \n \n*Note for updates - having trouble seeing your progress after an update? Try connecting with Facebook again and that should do the trick!*",
"trackName": "Gummy Drop!",
"trackId": 828578246,
"bundleId": "com.bigfishgames.worldsagaaapluniversalF2P",
"releaseDate": "2014-09-08T19:29:51Z",
"primaryGenreName": "Games",
"isVppDeviceBasedLicensingEnabled": true,
"currentVersionReleaseDate": "2016-08-23T17:26:54Z",
"releaseNotes": "Join us in the newest city, Queenstown!\nPlay over 360 brand new levels of Gummy matching fun today!\n\nOther improvements:\n•Optimizations and bug fixes to improve overall game performance.\n\nThanks for the continued support and feedback, and be sure to keep an eye out for more exciting updates!\n\nExperiencing issues? Please visit http://bigfi.sh/GummyHQ",
"sellerName": "Big Fish Games, Inc",
"primaryGenreId": 6014,
"genreIds": [
"6014",
"7003",
"7012",
"6016"
],
"averageUserRating": 4.5,
"userRatingCount": 46621
}
]
}
I found a third-party service which allows do this.
Appfigures. In docs they have the type of product inapp. Service may return price and currency. It looks like that I need.
But need to check it in practice.
If somebody know other service which possible to do that, please, share them. Thanks!
I am working on an iOS app that loads peoples' profile pictures into an instance of FBProfilePictureView, which has a property of profileID. Is there a way to easily find someone's profileID?
I'm conflicted as to whether this should be in the comments or an answer, but here's how:
You use the Open Graph API found here
A call of http://graph.facebook.com/username returns you a bunch of Json which you can get the id value from.
So, http://graph.facebook.com/facebook returns:
{
"id": "20531316728",
"about": "The Facebook Page celebrates how our friends inspire us, support us, and help us discover the world when we connect.",
"can_post": false,
"category": "Product/service",
"checkins": 348,
"cover": {
"cover_id": "10152513030211729",
"offset_x": 0,
"offset_y": 62,
"source": "https://scontent-b.xx.fbcdn.net/hphotos-xfp1/t31.0-8/q71/s720x720/1553497_10152513030211729_1664524928_o.jpg"
},
"founded": "February 4, 2004",
"has_added_app": false,
"is_community_page": false,
"is_published": true,
"likes": 152791404,
"link": "https://www.facebook.com/facebook",
"mission": "Founded in 2004, Facebook\u2019s mission is to give people the power to share and make the world more open and connected. People use Facebook to stay connected with friends and family, to discover what\u2019s going on in the world, and to share and express what matters to them.",
"name": "Facebook",
"parking": {
"lot": 0,
"street": 0,
"valet": 0
},
"talking_about_count": 2149385,
"username": "facebook",
"website": "http://www.facebook.com",
"were_here_count": 0
}
Why not using the Facebook Tool ? You can have ID and some other information (In JSon format) about people with only replacing their username in the URL.