Hitting API limit with querying last action timestamp for droplets
I’m using https://github.com/toin0u/DigitalOceanV2 to build a list of running droplets with their last action command and its timestamp. It takes one API request to get the list of virtual machines with their properties, except for the last action. I have to send a separate request for each droplet to get its last action timestamp. This causes the app to hit API limit of 1200 req/h.
So far I have resolved the situation by generating another API token key when I run out of requests but it’s inconvenient.
What are my options?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.