def get_rate_info(reddit): """ Get user rate limit information. Quits the program if the user does not have any requests left in the current rate limit window. Parameters ---------- reddit: Reddit object Reddit instance created by PRAW API credentials Returns ------- praw_limits: praw.models PRAW rate limits """ return models.Auth(_data = dict(), reddit = reddit).limits
def get_rate_info(reddit): return models.Auth(_data = dict(), reddit = reddit).limits