public function getStreamByUser($userIdendifier, $streamType = 'live')
    {
        if ($this->apiVersionIsGreaterThanV3() && !is_numeric($userIdendifier)) {
            throw new InvalidIdentifierException('user');
        }

        if (!$this->isValidStreamType($streamType)) {
            throw new InvalidStreamTypeException();
        }

        return $this->get(sprintf('streams/%s', $userIdendifier), ['stream_type' => $streamType]);
    }