def get_category(category_id):
try:<EOL><INDENT>res = _pybossa_req('<STR_LIT>', '<STR_LIT>', category_id)<EOL>if res.get('<STR_LIT:id>'):<EOL><INDENT>return Category(res)<EOL><DEDENT>else:<EOL><INDENT>return res<EOL><DEDENT><DEDENT>except:  <EOL><INDENT>raise<EOL><DEDENT>
Return a PYBOSSA Category for the category_id.

    :param category_id: PYBOSSA Category ID
    :type category_id: integer
    :rtype: PYBOSSA Category
    :returns: A PYBOSSA Category object