Added recommendations API (bug 1063795)

i would do `if not app_ids:...` and then do the return so that I could save one line on the else, but hey that's me