googleapis / googleapis/google-api-ruby-client

add hook for http requests

Open
#17,072 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
2.9k
Forks
888
Avg merge
6m
Merged PRs (30d)
218

Description

There's no good way to count read and write requests (e.g. for the sheets v4 api) - which is rate limited.

If this gem allowed the configuration of a lambda for when a http request is made, then the application using this gem would be free to log/count requests and then mitigate over usage.

As it stands now it's a bit of craps shoot. No way to tell when the client is reaching its quota.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.