def rate_limit_status(twitter):
    rls = twitter.application.rate_limit_status()
    print("Remaining API requests: %i/%i (interval limit)"
          % (rls.rate_limit_remaining, rls.rate_limit_limit))
    print("Next reset in %is (%s)"
          % (int(rls.rate_limit_reset - _time.time()),
             _time.asctime(_time.localtime(rls.rate_limit_reset))))
Print current Twitter API rate limit status.
dataset/ETHPy150Open sixohsix/twitter/twitter/archiver.py/rate_limit_status