I am building a third party library that is essentially an ad network, i.e., it will provide ads in apps. So, I need to allow users to install apps from within the app, using an ad - something like Facebook, where you see an app advertisement, you click that ad and install it - all within Facebook.
So I need to way to let users install those apps without leaving the app in which the ad is shown. Another recent example of this is Appsfire. They allow users to tap on ads, install those apps and return to Appsfire (essentially not letting the user leave).
I tried searching for an AppStore API but all I could find is the API to query AppStore, not a way to display an app and let users install it.