<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_task_info(self, task_name, key):
 """ Get task related information. :param task_name: name of the task :param key: key of the information item :return: a string of the task information """

        params = OrderedDict([('info', ''), ('taskname', task_name), ('key', key)])

        resp = self._client.get(self.resource(), params=params)
        return resp.text