bitly / bitly-api-python

python library to the bitly api
http://github.com/bitly/bitly-api-python
Other
244 stars 92 forks source link

pip package not up-to-date? #38

Open t-pfaff opened 8 years ago

t-pfaff commented 8 years ago

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.

jimmy927 commented 5 years ago

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.