bitly-api-python icon indicating copy to clipboard operation
bitly-api-python copied to clipboard

pip package not up-to-date?

Open t-pfaff opened this issue 9 years ago • 1 comments

user_shorten_counts throws an error message:

/home/tpfaff/.local/lib/python2.7/site-packages/bitly_api/bitly_api.pyc in user_shorten_counts(s
elf, **kwargs)
    287         data = self._call_oauth2_metrics("v3/user/shorten_counts", dict(),
    288                                          **kwargs)
--> 289         return data["shorten_counts"]
    290 
    291     def user_tracking_domain_list(self):
KeyError: 'shorten_counts'

I know that the correct key user_shorten_counts is in the code in this repo, but if you install via pip there is apparently an older version of bitly_api.py.

t-pfaff avatar Mar 23 '16 16:03 t-pfaff

This repo seems abandoned by its original creator. I have cloned it and merged in at least some pull requests here: https://github.com/jimmy927/bitly-api-python

At the writing point in time i got it working.

jimmy927 avatar May 13 '19 17:05 jimmy927