endpoint_url: Build the API endpoint

Description Usage Arguments Examples

View source: R/endpoint_url.R

Description

Take an endpoint and attach it to the base url from finnhub

Usage

1
endpoint_url(end_point, ...)

Arguments

end_point

An API endpoint. Example for stock peers /stock/peers.

Examples

1
2
finnhub_base_url <- 'https://finnhub.io/api/v1/'
endpoint_url('stock/peers')

threadingdata/finnhubr documentation built on Aug. 10, 2020, 12:48 a.m.