stravalib.util.limiter.get_seconds_until_next_day#

stravalib.util.limiter.get_seconds_until_next_day(now=None)[source]#

Returns the number of seconds until the next day (utc midnight). This is the long-term rate limit used by Strava. :param now: A (utc) timestamp :type now: arrow.arrow.Arrow :return: the number of seconds until next day, as int