def query(name, use_kerberos=None, debug=False):
url = '<STR_LIT>' % (CIS_API_URL, name)<EOL>more = True<EOL>out = ChannelList()<EOL>while more:<EOL><INDENT>reply = _get(url, use_kerberos=use_kerberos, debug=debug)<EOL>try:<EOL><INDENT>out.extend(map(parse_json, reply[u'<STR_LIT>']))<EOL><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT>except TypeError:  <EOL><INDENT>out.extend(map(parse_json, reply))<EOL>break<EOL><DEDENT>more = '<STR_LIT>' in reply and reply['<STR_LIT>'] is not None<EOL>if more:<EOL><INDENT>url = reply['<STR_LIT>']<EOL><DEDENT>else:<EOL><INDENT>break<EOL><DEDENT><DEDENT>out.sort(key=lambda c: c.name)<EOL>return out<EOL>
Query the Channel Information System for details on the given
    channel name

    Parameters
    ----------
    name : `~gwpy.detector.Channel`, or `str`
        Name of the channel of interest

    Returns
    -------
    channel : `~gwpy.detector.Channel`
        Channel with all details as acquired from the CIS