I don't suppose anyone has advice on why #rstats httr::GET() returns different content than #python requests.get() for the same API query??
1
2
1
1
I'm trying to get stats for a zenodo record, but that field is missing when I use httr::GET(). Putting the same query into chrome or firefox does get the stats field. So something unique is going on with the way {{httr}} is sending the request or retrieving the response!
2
Replying to @Hao_and_Y
I think I would start with a plain (command-line !) `curl` request and start from there. Possibly something is filtered out on the different code paths you are looking at.

Nov 5, 2022 · 3:48 PM UTC

1
1
Replying to @eddelbuettel
Yeah, just started playing around with {{curl}}, and it does seem to get what I want. Something curious happening with the {{httr}} package!