Created
January 14, 2014 13:03
-
-
Save tzermias/8417962 to your computer and use it in GitHub Desktop.
Find which method of the Twitter API (via tweepy) doesn't have any available requests.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rate_limit = api.rate_limit_status() | |
[key2 for key in rate_limit['resources'] for key2 in rate_limit['resources'][key].keys() if rate_limit['resources'][key][key2]['remaining']==0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment