Hi everyone,
I have never worked with this kind of API before, and could need some help. I have the following information regarding the Rest API access:
"
Authentication will be completed through the use of access tokens. Users will be provided a Client ID and a Client Secret to access data.
We will provide users with two reference clients, one to connect to the rest API and one to connect to the websocket. The user will have to enter their client ID and secret in the reference client and the code will handle getting the access token. The reference clients also handle putting the access token in the Authorization header for the request.
client <- oauth_client(
id = "123",
secret = obfuscated("abc"),
token_url = "https://api.secondspectrum.com",
name = "Second S Test"
)
github_client <- function() {
oauth_client(
id = "123",
secret = obfuscated("abc"),
token_url = "https://api.secondspectrum.com",
name = "Second S Test"
)
}
In secret = obfuscated() I have put in my Client Secret, I dont know if this is correct, or I should run obfuscated("secret"), and put in whatever it gives me that way instead?
Also next step about creating a token with "oauth_flow_auth_code", I dont know what to put in in auth_url, as I have only got this api hostname in the documentation: https://api.secondspectrum.com.