示例#1
0
 /**
  * Retrieve the logged user's posts
  * @url https://getpocket.com/developer/docs/v3/retrieve
  * @param RetrieveQuery $query @see RetrieveQuery
  * @return array An array containing the results
  * @throws PokketAPIException
  */
 public function retrieve(RetrieveQuery $query)
 {
     return $this->post(self::RETRIEVE_URL, array_merge($query->toArray(), ['access_token' => $this->accessToken]));
 }