code: public function getBlogPosts($blogName, $options = null)
      {
          $path = $this->blogPath($blogName, '/posts');
          if ($options && isset($options['type'])) {
              $path .= '/' . $options['type'];
              unset($options['type']);
          }
  
          return $this->getRequest($path, $options, true);
      }
docs: Get posts for a given blog
  
  @param string $blogName the name of the blog
  @param array  $options  the options for the call
  
  @return array the response array