Clari Interview Question

1. Implement a function to rate limit api calls.