Retrieves the current gold price.
get_current_goldprice()
nbp_api_response object containing the current gold price.
tryCatch( { ## Fetch the current gold price response <- get_current_goldprice() ## Retrieve the current gold price value response$content$cena }, error = function(e) message(e) )
https://api.nbp.pl/#cenyZlota
Other goldprice: get_goldprice_from(), get_goldprice_from_interval(), get_last_n_goldprices(), get_todays_goldprice()
get_goldprice_from()
get_goldprice_from_interval()
get_last_n_goldprices()
get_todays_goldprice()
Useful links