Checking API limit via an API call?

Checking API limit via an API call?

Hi,

 

I was wondering is there an API method or call I could use to check how many calls have been made during the day so far?

 

I am looking at implementing a bulk upload script that would run off a cron job and although I’m sure at present we are hardly use our API limit, as time goes on we might find on a daily basis we are close to hitting the limit and I would like to try and stop the script from running in the cron job if the limit is close to being hit.


Is this possible?


Thanks for any help


Darren