Scott Chamberlain

Results 1295 comments of Scott Chamberlain

use cases - user say what rate limits are, and thats it - then we check rate limit info if given for them, if not sadface - user say what...

moving to next milestone, trying to get MVP out #10

This probably will require using something that can maintain state, like an `R6` class

paging notes **per_page/page interface --- assuming max is > 20** limit = 20 -> per_page = 5 offset = 15 -> page = 4 chunk_size = 5 stop -> 20...

moving to next milestone, trying to get MVP out #10

moving to next milestone, trying to get MVP out #10

``` r snapops( httr::user_agent("batwoman"), httr::add_headers(a = 5) ) ``` then those are collected and used appropriately in the request also allows easy option to use `RCurl` or other curl like...

Thanks for the issue @katrinleinweber - What exactly do you want to cache? The HTTP response with headers and the raw response body? Or the parsed response as a data.frame/list?...

thanks @katrinleinweber I have been tinkering with this pkg in development https://github.com/ropenscilabs/webmiddens exactly for the use case of caching http requests/responses with expiry, etc. I'll try to get that working