STEP 1: Acquire the API key, the user can follow the steps
elucidated in fw_be4ustart()
function.
STEP 2: Edit the .Renviron file by running
fw_setapikey().
STEP 3: If the .Renviron window opens, please type in API_KEY = “9f7be425-e099-11ee–…………..”
STEP 4: Save and restart the R session.
STEP 5: The key will be ready for use and will not required to be provided anywhere within the codes thereafter.
STEPT 6: When you test with the codes, a welcome message will be printed before data is retrieved.
Wickham H (2024). httr2: Perform HTTP Requests and Process the Responses. R package version 1.0.3,https://CRAN.R-project.org/package=httr2