How do I get all posts from a specific category?

thanks got it, is there any way to get the raw data? i saw a search() function in the API, but not sure how to include the parameters.