Description Usage Arguments Details Value Author(s) Examples
Check user- and package-level rate limits
1 |
... |
Other arguments passed to HTTP request functions, for example: |
This function returns a list detailing user- and package-level API rate limits. All calls to the API deduct one unit from rate limits, except for upload_image
, which deducts 10. Rate limits are lower for anonymous requests than for authenticated requests. Limits exist at the user level and at the package level. The user-level rate limit are automatically reset periodically. The response object documents when that limit will be reset.
Rate limits are automatically checked during each request. Options can be set for low remaining usage warnings. By default (when the package is loaded) those options are: options(imgur_user_rate_warning = 20)
and options(imgur_client_rate_warning = 100)
.
An object of class “imgur_basic”.
Thomas J. Leeper
1 2 3 4 5 6 7 8 9 | ## Not run:
# rate limit for anonymous requests
rate_limit()
# rate limit for authenticated requests
tkn <- imgur_login()
rate_limit(token = tkn)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.