matthiasgomolka/simfinapi

Could not resolve host: legacy.simfin.com

Closed this issue · 2 comments

zos474 commented

Running the simple code below, I get the error as follows when it gets to the sfa_get_prices statement:

library(simfinapi)
sfa_set_api_key(api_key = "...") #I have an api key from simfin entered here
tickers <- c("AMZN", "GOOG") # Amazon, Google
prices <- sfa_get_prices(tickers)

Error in curl::curl_fetch_memory(url, handle = handle) :
Could not resolve host: legacy.simfin.com

I installed the package first from CRAN and when that didn't work, from GitHub, but still the same error.

lima1 commented

See #51

I'm currently working on supporting the new API v3. I'll update the package on CRAN as soon as possible.