Explain how you would handle API rate-limiting in an automation script designed to fetch data from a cloud provider for Turing.