Its an old question, but i will update for my finding..
there is SPCAMLQueryHelperSPCAMLQueryHelper
it has choice for office 365, i have tried it and its works :)

edit : in field username you should fill your email for o365 account, ex : [email protected]