diff --git a/src/SlotDbClient.php b/src/SlotDbClient.php index 71ebebd..c0da8fb 100644 --- a/src/SlotDbClient.php +++ b/src/SlotDbClient.php @@ -119,12 +119,16 @@ class SlotDbClient */ public function queryGroup(string $groupId): array { - throw new \Exception("Not implemented"); + $res = $this->get("/group/{$groupId}"); + $data = json_decode($res->getBody(), true); + return $data; } public function updateGroup(string $groupId, array $props): array { - throw new \Exception("Not implemented"); + $res = $this->post("/group/{$groupId}", $props); + $data = json_decode($res->getBody(), true); + return $data; } public function deleteGroup(string $groupId): void