def search_channels(self, **kwargs):
params = [(key, kwargs[key]) for key in sorted(kwargs.keys())]<EOL>url = "<STR_LIT>".format(<EOL>urlencode(params, doseq=True))<EOL>response = NWS_DAO().getURL(url, self._read_headers)<EOL>if response.status != <NUM_LIT:200>:<EOL><INDENT>raise DataFailureException(url, response.status, response.data)<EOL><DEDENT>data = json.loads(response.data)<EOL>channels = []<EOL>for datum in data.get("<STR_LIT>", []):<EOL><INDENT>channels.append(self._channel_from_json(datum))<EOL><DEDENT>return channels<EOL>
Search for all channels by parameters