by anze3db · 2y ago · 0 comments
PS: You can simplify and make the Python example a bit more secure by using the params parameter[0] instead of building the query string manually:
``` requests.get(base_url, params=params) ```
[0] https://requests.readthedocs.io/en/latest/user/quickstart/#p...
I'd love to make this more ergonomic for you. I'm used to using configuration propagation mechanisms where you can change configs without redeploying code (basically the webserver subscribes to some central pubsub config store). That paradigm works with this since you could parameterize the duration using the config value. What would work better for you?
In this case, I'm guessing the ability to configure the rate limits on your end would be useful. But again, I'm not your potential customer, so don't take this as customer feedback/feature request. I'm just thinking out loud :)