Accessing data via API endpoints to be used in R studio

Hello,
I am trying to access example/sample data from the LSEG API using RStudio on my local machine.

I would like guidance on:
- The correct API endpoint(s) to use for retrieving sample data.
- Any example requests in R (e.g., using httr or curl) that would allow me to test the API successfully.
- Authentication steps required when using RStudio locally.

My environment:

-R version: [e.g., 4.5]
-Operating System: [e.g., Windows 11]

Could you please provide an example workflow or point me to relevant documentation for getting started with API access in R?

Tagged: