API limit, check


Hi guys,

Is there a way to check the API limit before requesting. The api/limits only returns the limit itself. This would be something like remaining requests in the hour or time until the limit is lifted. This could then be used in a script to allow a series of requests to be handled correctly.