Fetch multiple data sources at once and parse them once they are downloaded.
curl_async(urls, .parse = RcppSimdJson::fparse)
urls | `character(n)`. A vector of URLs. |
---|---|
.parse | `function`. The function used to parse the JSON data. |
The parsed JSON.
curl_async("https://fantasy.premierleague.com/api/element-summary/1/")#> Error in curl_async("https://fantasy.premierleague.com/api/element-summary/1/"): could not find function "curl_async"