View source: R/endpoint_tables.R
get_last_n_exchangerate_tables | R Documentation |
Retrieves the last n exchange rate tables.
get_last_n_exchangerate_tables(table, n)
table |
specifies which table should be fetched. |
n |
number of exchange rate tables to retrieve. |
nbp_api_response object containing the last n exchange rate tables.
https://api.nbp.pl/#kursyWalut
Other tables:
get_current_exchangerate_table()
,
get_exchangerate_table_from()
,
get_exchangerate_tables_from_interval()
,
get_todays_exchangerate_table()
tryCatch(
{
## Fetch the last 3 A exchange rate tables
response <- get_last_n_exchangerate_tables("A", 3)
## Preview response content
response$content
},
error = function(e) message(e)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.