This module creates a list of channel infos and statistics from one of two sources: the channels corresponding to a particular search query or the channels specified by a list of ids.
The script then creates a tabular file where each row is a channel. A number of infos and variables are added for each channel.
Check the documentation for the channels/list (used to get the info for each channel) and the search/list (used for the search function) API endpoints for additional information.