matthiasgomolka / simfinapi

Makes 'SimFin' data (https://simfin.com/) easily accessible in R.
19 stars 4 forks source link

Could not resolve host: legacy.simfin.com #52

Closed zos474 closed 9 months ago

zos474 commented 9 months ago

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_fetchmemory(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 9 months ago

See #51

matthiasgomolka commented 9 months ago

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