def get_match_details(self, match_id=None, **kwargs):
if '<STR_LIT>' not in kwargs:<EOL><INDENT>kwargs['<STR_LIT>'] = match_id<EOL><DEDENT>url = self.__build_url(urls.GET_MATCH_DETAILS, **kwargs)<EOL>req = self.executor(url)<EOL>if self.logger:<EOL><INDENT>self.logger.info('<STR_LIT>'.format(url))<EOL><DEDENT>if not self.__check_http_err(req.status_code):<EOL><INDENT>return response.build(req, url, self.raw_mode)<EOL><DEDENT>
Returns a dictionary containing the details for a Dota 2 match

        :param match_id: (int, optional)
        :return: dictionary of matches, see :doc:`responses </responses>`