add get_posts passthrough api method

I found this lacking in the current plugin. I needed a way to get posts via the normal wp `get_posts()` method, so here it is.