Learn R Programming

pinnacle.API (version 2.3.3)

GetAPIEndpoint: Gets the current API endpoint

Description

Gets the current API endpoint

Usage

GetAPIEndpoint()

Arguments

Value

the currently set API endpoint

Examples

Run this code
# NOT RUN {
SetAPIEndpoint("https://api.pinnaclesports.com/v2/")
GetAPIEndpoint()
SetAPIEndpoint("https://api.pinnaclesports.com")
# }

Run the code above in your browser using DataLab