added a class that can be incremented up to 60 times a minute. This class will be used to "prevent" our API from making too many calls in a minute (In an attempt to keep our key from getting banned)
need to make timerVar = AuthTimer(); timerVar.canInc() will return True if we can call again, or False if we've already made our 60 calls. timerVar.inc() will increment the number of times we call the API. Every 60 seconds, that incrementor is reset back to 0.
Will add a ticket for the API team to implement this class into their calls
added a class that can be incremented up to 60 times a minute. This class will be used to "prevent" our API from making too many calls in a minute (In an attempt to keep our key from getting banned)
need to make timerVar = AuthTimer(); timerVar.canInc() will return True if we can call again, or False if we've already made our 60 calls. timerVar.inc() will increment the number of times we call the API. Every 60 seconds, that incrementor is reset back to 0.
Will add a ticket for the API team to implement this class into their calls