api: api wrapper function that checks for a user_key and determines the Rosette API endpoint to be utilized
Description
api wrapper function that checks for a user_key and determines the Rosette API endpoint to be utilized
Usage
api(user_key, endpoint, parameters = FALSE, url = "https://api.rosette.com/rest/v1/")
Arguments
user_key
- Rosette API authentication key
endpoint
- Rosette API endpoint to be utilized
parameters
- parameters list to be passed to specified Rosette API endpoint
Value
Returns json of the specified Rosette API endpoint response