Added recommendations API (bug 1063795)

gosh thats a long test :(