

def expand(self, url):
    expand_url = '{0}{1}'.format(self.api_url, 'v3/expand')
    params = dict(shortUrl=url, access_token=self.token, format='txt')
    response = params._get(expand_url, params=params)
    if response.ok:
        return response.text.strip()
    raise ExpandingErrorException('There was an error expanding this url - {0}'.format(response.content))

dataset/ETHPy150Open ellisonleao/pyshorteners/pyshorteners/shorteners/bitly.py Bitly.expand/VarMisuse@46/63 `self`->`params`