From 55b9aa9f043d22d4b7238fb50be3fcb08b6a4d03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s?= Date: Tue, 9 Jan 2018 08:50:51 +0100 Subject: [PATCH] Added getTagsUsers --- src/KuvutTagging/KuvutTagging.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/KuvutTagging/KuvutTagging.php b/src/KuvutTagging/KuvutTagging.php index c57029b..98298a2 100644 --- a/src/KuvutTagging/KuvutTagging.php +++ b/src/KuvutTagging/KuvutTagging.php @@ -264,6 +264,16 @@ public function getTagUsers(array $options = []) return $this->getResponseBaseOptions($method, $url); } + public function getTagsUsers(array $options = []) + { + $method = 'GET'; + if (empty($options['tags'])) { + throw new \Exception('Tags missing'); + } + $url = $this->parseUrl('/user/get-users-tags/', $options); + return $this->getResponseBaseOptions($method, $url, $options); + } + public function getTagCategoryUsers(array $options = []) { $method = 'GET';