def get_anchor_text(self, url, **params):
        """Return anchor text from links pointed at a URL.
        
        :param Scope: specify results per page / per domain.
        :param Filter: limit types of rows returned.
        :param Limit: limit number of rows returned.
        :param Offset: specify starting row.
        :param Cols: bitfield specifying which columns to return.
        
        Docs: http://moz.com/help/guides/moz-api/mozscape/api-reference/anchor-text-metrics
        """
        
        # API breaks if scope isn't defined. This default is specified by the
        # documentation.
        if 'Scope' not in params.keys():
            params['Scope'] = 'phrase_to_page'
        
        self._add_smart_fields('anchor-text', params)
       
        return self.get('anchor-text', url, params=params)
dataset/ETHPy150Open benjaminestes/pyscape-client/pyscape/endpoints.py/EndpointsMixin.get_anchor_text/original