ajgoune / python-twitter

Automatically exported from code.google.com/p/python-twitter
Apache License 2.0
0 stars 0 forks source link

GetRateLimitStatus #125

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I wrote function for getting rate limit status for current user. It may be 
useful for robots written 
with this module. 

Function is in attach.

Original issue reported on code.google.com by alexey.k...@gmail.com on 18 Feb 2010 at 4:43

Attachments:

GoogleCodeExporter commented 8 years ago
The attachment has:

if not self._username:
      raise TwitterError("You must login or specify user to get followers list")

I don't think that's necessary.  One can get rate-limited as an anonymous user 
(by IP).

Original comment by jscha...@netmeister.org on 18 Jul 2010 at 11:27