Commits

Alexander Tereshkin committed 1097677 Draft

Added followers() method to the User object to query user followers

Comments (0)

Files changed (1)

             url += '?%s' % query
         return json.loads(self.bb.load_url(url))
 
+    def followers(self):
+        url = api_base + 'users/%s/followers/' % self.username
+        return json.loads(self.bb.load_url(url))
+
     def get(self):
         url = api_base + 'users/%s/' % self.username
         return json.loads(self.bb.load_url(url))