add requestsLeft function

returns the number of API calls that are left on the current day for the key