Fetch multiple data sources at once and parse them once they are downloaded.

curl_async(urls, .parse = RcppSimdJson::fparse)

Arguments

urls

`character(n)`. A vector of URLs.

.parse

`function`. The function used to parse the JSON data.

Value

The parsed JSON.

Examples

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"