We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next, we can make it a little easier to create requests, and to include auth:
# creates request using Box URL, adds auth bx_request(resource, auth = NULL) # auth can be char or function, NULL means use pkg env # takes request, adds auth bx_req_auth(req, auth = NULL) # uses default auth
with this we could do:
library("httr") library("cardboard") bx_auth_use("personal") request("https://api.box.com/2.0/users/me") %>% bx_auth() %>% req_perform() %>% resp_body_json() # more concise bx_request("users/me") %>% req_perform() %>% resp_body_json()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Next, we can make it a little easier to create requests, and to include auth:
with this we could do:
The text was updated successfully, but these errors were encountered: