o
    ˷e                     @   s0   d Z ddlmZ ddlmZ G dd deZdS )z
The List Clients API endpoint

Documentation: http://developer.mailchimp.com/documentation/mailchimp/reference/lists/clients/
Schema: https://api.mailchimp.com/schema/3.0/Lists/Clients/Collection.json
    )unicode_literals)BaseApic                       s(   e Zd ZdZ fddZdd Z  ZS )ListClientszp
    Get information about the most popular email clients for subscribers in a
    specific MailChimp list.
    c                    s&   t t| j|i | d| _d| _dS )z)
        Initialize the endpoint
        listsN)superr   __init__endpointlist_id)selfargskwargs	__class__ V/var/www/ideatree/venv/lib/python3.10/site-packages/mailchimp3/entities/listclients.pyr      s   
zListClients.__init__c                 K   s$   || _ | jjdd| |di|S )a4  
        Get a list of the top email clients based on user-agent strings.

        :param list_id: The unique id for the list.
        :type list_id: :py:class:`str`
        :param queryparams: The query string parameters
        queryparams['fields'] = []
        queryparams['exclude_fields'] = []
        urlclientsNr   )r	   
_mc_client_get_build_path)r
   r	   queryparamsr   r   r   all   s   
zListClients.all)__name__
__module____qualname____doc__r   r   __classcell__r   r   r   r   r      s    	r   N)r   
__future__r   mailchimp3.baseapir   r   r   r   r   r   <module>   s   