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 EepURL Report API endpoint

Documentation: http://developer.mailchimp.com/documentation/mailchimp/reference/reports/eepurl/
Schema: https://api.mailchimp.com/schema/3.0/Reports/Eepurl/Collection.json
é    )Úunicode_literals)ÚBaseApic                       s(   e Zd ZdZ‡ fdd„Zdd„ Z‡  ZS )ÚReportEepURLzO
    Get a summary of social activity for the campaign, tracked by EepURL.
    c                    s&   t t| ƒj|i |¤Ž d| _d| _dS )z)
        Initialize the endpoint
        ÚreportsN)Úsuperr   Ú__init__ÚendpointÚcampaign_id)ÚselfÚargsÚkwargs©Ú	__class__© úW/var/www/ideatree/venv/lib/python3.10/site-packages/mailchimp3/entities/reporteepurl.pyr      s   
zReportEepURL.__init__c                 K   s$   || _ | jjdd|  |d¡i|¤ŽS )aE  
        Get a summary of social activity for the campaign, tracked by EepURL.

        :param campaign_id: The unique id for the campaign.
        :type campaign_id: :py:class:`str`
        :param queryparams: The query string parameters
        queryparams['fields'] = []
        queryparams['exclude_fields'] = []
        ÚurlÚeepurlNr   )r	   Ú
_mc_clientÚ_getÚ_build_path)r
   r	   Úqueryparamsr   r   r   Úall   s   
zReportEepURL.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   