How to get bundles in iTunes API search results? - app-store

Tryed to use iTunes API, but pointed that there are no bundles in results.
For example, here are results in App Store:
http://i61.tinypic.com/m6b92.jpg
And here are iTunes API results of this request https://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html:
TextGrabber + Translator...
FineScanner...
Словарь Lingvo...
Lingvo Live от ABBYY
How to get bundles in search?

It's either undocumented or impossible to get information related to app bundles. I've been trying for a year but like video previews and in-app purchase data, it doesn't yet seem to be supported by the API.
I have tried querying the developer, querying individual apps in a bundle, and querying the bundle ID itself, but can't find any combination that works.

I've had luck searching by the developer/publisher. For instance, I was looking for the "Go Trilogy" bundle from Square-Enix. Searching "Square Enix" brought up ALL of their releases AND currently offered bundles. Hope this helps someone.

Related

Is it possible to gather other apps data in swift?

I'm building an web application with react-native.
In this app I need to gather some information about users.
One of them is how much time they spend on other apps installed on their phone.
I couldn't find any library for this job, so I've decided to write the native code my self.
For android, apparently there is this UsageStatsManager that can help me achieve what I want.
But when I searched for sth similar in ios, I found lots of old forums saying that this is not possible.
But I recently I saw this:
It is asking for permission to gather other apps data. SO IT IS POSSIBLE?
Any suggestion is appreciated. How am I supposed to this?
There is no API by apple itself for retrieving data of third party applications. This is called "Sandboxing" where applications are restricted from changing the device settings or retrieving/changing other apps data. Hence, why iphones are secure.
What you have shown in your screenshots is to track application data for personalised ads and such. This can be achieved using the AppTrackingTransparency framework provided by apple. You can read more about the framework here.
TL;DR - You can use AppTrackingTransparency for personalisation

Filter iTunes search API results

It seems like iTunes search API returns different results than the ones returned when searching on an iPhone device (also results are in different order).
Assuming I want the results to be identical to an iPhone device, how do I do that with the official search API?
Also, is there a way to filter out non-iPhone apps from the search results?
Search API URL
iPhone search URL
The search stack developed for the store is a different algorithm than the search stack for developer tools.
That said, understand some of the following features of the developer tool (Search API) that are helpful:
"sort=popular" is the default order that results are returned. "sort=recent" is the alternative.
"entity=software" will return apps that are available on iPhone, iPod touch and Universal apps (that work on iPad) but if you want all iOS apps you should use "entity=software,iPadSoftware"
Focus your search term on the attribute you are trying to target. If you know your search term is a song title (and not an album name or artist name) then use "attribute=songTerm"
You can use the following API URL to make app store search requests. After acquiring Chomp last year, it was reported that Apple was revamping their internal App Store search algorithms. That may have something to do with the differences you see using the iTunes search API and whatever API the App Store uses. Apple may have developed a separate API specifically for Apps and for use in the App Store that excludes other products like music, in order to improve performance.
http://itunes.apple.com/search?term=SEARCHTERM&country=us&entity=software&limit=100
So, you could do the following in order to get only software for iPhone, iPod touch, and Universal apps with a search term of 'Gameloft'.
http://itunes.apple.com/search?term=Gameloft&country=us&entity=software&limit=100
To include iPad apps in the search, use:
http://itunes.apple.com/search?term=Gameloft&country=us&entity=software,iPadSoftware&limit=100
Check out Apple's documentation for more options.
You can try out a working example I put together of the iTunes search API here. Example Search Tool

Google Drive vs Google Doc for iOS?

I have an iOS app that uses the Google Docs List API to access and download spreadsheet data. I've done a basic test with upgrading my Google Docs account to Google Drive, and everything still seems to be working okay.
Based on the answer for this question Google Document List API and Google Drive SDK it looks like things will continue to work for awhile.
Are there any steps that mobile devs should be taking now to move to the new API? My main concern is that most of the developer docs so far are related to web apps and not mobile apps so requirements like registering for the chrome web store don't seem to fit. For example:
"Warning: Apps will not have any API access to files unless the app has been installed in Chrome Web Store. To test an app during development, you must first create a listing and install it."
Any guidance or suggestions would be appreciated.
Check this answer for the rationale behind the Chrome Web Store installation: https://stackoverflow.com/a/10476737/186674
Also, we are considering removing the installation requirement for the development and testing phase, we should have some updates soon.
iOS apps using the Documents List API should now update to using the Google Drive API and the newer Google APIs Client Library for Objective-C.
The new API and library are quite a bit easier to use and more efficient than are the older GData alternatives.

Info about opened URLs and called numbers on iOS thru private APIs?

Using any of the iPhone's private APIs, is it possible to access the call log on the iPhone without jailbreaking it? Is the same somehow possible for opened URLs in Safari and launched apps (which app was launched when and active for what amount of time)?
I know I can't submit it to the AppStore and I don't want to either.
Based on Erica Sadun's DumpFrameworks Perl script I have already created a ruby gem that dumps the header files of iOS's private framework classes. Maybe that's helpful in finding the answer: http://rubygems.org/gems/private-dumper
I'm primarily interested in how to do this (or even just part of this) without jailbreaking but I'm also interested in a jailbreak-based solution.
Thanks!
Johannes
I haven't played with this recently so I'm not sure that these "hacks" will still work but Nicolas Seriot had come out last year with a series of examples that show how much access a developer can have in an iPhone app. He released a project called "SpyPhone" that shows these examples, one of which, I believe, does what you're asking for.
Here are slides from a talk he did on it: http://www.scribd.com/doc/23739469/iPhone-Privacy-from-Nicolas-Seriot
Hope this helps!

Some questions about the App Store review guidelines?

I've made some iphone webapps before, using jQTouch and iUI but now i want to try out making a native Apps for iPhone. As i first step i thought of trying to port one of my webapps using Phonegap. So far it works well, but i'm a little concerned about some things in the Apple Review Guidelines and wanted to see if anyone have prior experience and could answer som questions.
2.5 Apps that use non-public APIs will be rejected
2.6 Apps that read or write data outside its designated container area will be rejected
I'm not really sure what this means. I don't think they concern me but if anyone could give me som more info about it it would be nice.
2.7 Apps that download code in any way or form will be rejected
This one is more tricky. Do they consider HTML code? What my app does is to load content into DIV-tags using jQuery.load()-function, that means much of the work in the app is performed on my server. Will it be "safer" if i generate JSON or XML of the data and process it with JavaScript inside the app instead of loading the formated HTML-code?
2.12 Apps that are not very useful or do not provide any lasting entertainment value may be rejected
This one together with the quote:
If your App looks like it was cobbled together in a few days, or you're trying to get your first practice App into the store to impress your friends, please brace yourself for rejection. We have lots of serious developers who don't want their quality Apps to be surrounded by amateur hour.
Made me wonder what they consider a useful app and what lasting entertainment means. This is my first app and i dont aim for a broad audience, this is mostly a way to get to know the XCode, iPhone-development and the App Store review process before. However, the App will be really useful for me and a bunch of my friends.
2.6 Don't specifically try to access files outside your app's Bundle or Documents directory and you should be fine.
2.7 Somewhere, it explicitly says you can download and use HTML/CSS/Javascript as long as you are running it inside an iOS UIWebView container. But don't try to download, say, Lua source code at runtime and interpret it.
2.12 Don't waste the App store reviewer's time if you are just trying to "get to know" the app development or store distribution process. Read about it instead. Submit something only if you think there are people (not just your Mom) who will really want to download your app and not delete it after trying it out. Maybe at least a dozen to hundred someones. If not, distribute some Ad Hoc deployments to your buddys instead.