Permalink
Browse files

Merge pull request #31 from jazwiecki/master

Get user_shorten_counts key from data[] in user_shorten_counts method rather than missing shorten_counts key
  • Loading branch information...
2 parents 510ef04 + 3b1a9ca commit 8f51e7775938238398da4c8cb619dd3609c76f3d @jehiah jehiah committed Jul 30, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 bitly_api/bitly_api.py
View
@@ -305,7 +305,7 @@ def user_share_counts_by_share_type(self, **kwargs):
def user_shorten_counts(self, **kwargs):
data = self._call_oauth2_metrics("v3/user/shorten_counts", dict(),
**kwargs)
- return data["shorten_counts"]
+ return data["user_shorten_counts"]
def user_tracking_domain_list(self):
data = self._call_oauth2("v3/user/tracking_domain_list", dict())

0 comments on commit 8f51e77

Please sign in to comment.