<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def pool_list(self, name_matches=None, pool_ids=None, category=None, description_matches=None, creator_name=None, creator_id=None, is_deleted=None, is_active=None, order=None):
 """Get a list of pools. Parameters: name_matches (str):
 pool_ids (str):
 Can search for multiple ID's at once, separated by commas. description_matches (str):
 creator_name (str):
 creator_id (int):
 is_active (bool):
 Can be: true, false. is_deleted (bool):
 Can be: True, False. order (str):
 Can be: name, created_at, post_count, date. category (str):
 Can be: series, collection. """

        params = {
            'search[name_matches]': name_matches,
            'search[id]': pool_ids,
            'search[description_matches]': description_matches,
            'search[creator_name]': creator_name,
            'search[creator_id]': creator_id,
            'search[is_active]': is_active,
            'search[is_deleted]': is_deleted,
            'search[order]': order,
            'search[category]': category
            }
        return self._get('pools.json', params)