From e949eb16b671d787e83dc4eb97e2b7afc99728e2 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Tue, 10 Feb 2015 02:49:23 +0100 Subject: [PATCH] terms tree --- src/Api/Client.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Api/Client.php b/src/Api/Client.php index 7431dcf..1adeb7f 100644 --- a/src/Api/Client.php +++ b/src/Api/Client.php @@ -40,6 +40,11 @@ class Client return $this->get(true, '/categories/tree'); } + public function getTermsTree() + { + return $this->get(true, '/terms/tree'); + } + public function get($needAuthorization, $uri, array $options = array()) { return $this->send($needAuthorization, 'get', $uri, $options);