Whitelisted userid - however twython show ratelimit at 150.

18 views
Skip to first unread message

Rahul

unread,
Feb 19, 2010, 3:08:13 PM2/19/10
to Twython Talk
Hello,

I have got my userid whitelisted with twitter. Below is the output
from curl

<?xml version="1.0" encoding="UTF-8"?>
<hash>
<hourly-limit type="integer">20000</hourly-limit>
<reset-time-in-seconds type="integer">1266612510</reset-time-in-
seconds>
<reset-time type="datetime">2010-02-19T20:48:30+00:00</reset-time>
<remaining-hits type="integer">20000</remaining-hits>
</hash>

However, when I use twython

>>> import twython.core as twython
>>> twitter = twython.setup(username="myusername", password="mypassword")
>>> rateLimit = twitter.getRateLimitStatus(rate_for="myusername")
>>> print rateLimit
{u'reset_time_in_seconds': 1266613344, u'remaining_hits': 150,
u'hourly_limit': 150, u'reset_time': u'Fri Feb 19 21:02:24 +0000
2010'}

it still shows 150 ??

Am I doing something wrong or ?

thanks
Rahul

Reply all
Reply to author
Forward
0 new messages