diff --git a/lib/Trello/Api/Organization.php b/lib/Trello/Api/Organization.php index 6fce6b1..75d044f 100644 --- a/lib/Trello/Api/Organization.php +++ b/lib/Trello/Api/Organization.php @@ -53,4 +53,32 @@ public function show($id, array $params = array()) { return $this->get($this->getPath().'/'.rawurlencode($id), $params); } + + /** + * Get an organization's boards + * @link https://trello.com/docs/api/organization/#get-1-organizations-idorg-or-name-boards + * + * @param string $id the organization's id + * @param array $params optional attributes + * + * @return array + */ + public function boards($id, array $params = array()) + { + return $this->get($this->getPath().'/'.rawurlencode($id).'/boards', $params); + } + + /** + * Get an organization's members + * @link https://trello.com/docs/api/organization/#get-1-organizations-idorg-or-name-members + * + * @param string $id the organization's id + * @param array $params optional attributes + * + * @return array + */ + public function members($id, array $params = array()) + { + return $this->get($this->getPath().'/'.rawurlencode($id).'/members', $params); + } }