msgraph_api: Execute a GET request against the MS Graph API

Description Usage Arguments Value Examples

Description

Calls bare API end points and returns a wrapped 'httr' response object to a higher level function for presentation.

Usage

1
2
msgraph_api(path, msgraph_token, query = NULL,
  api_version = default_api_version())

Arguments

path

API endpoint to retrieve

msgraph_token

Oauth2 token as returned from 'httr::oauth2_token()'

query

Named list of parameters to use as the URL query

api_version

Version of the Graph API to call

Value

A msgraph_api object

Examples

1

davidski/msgraphr documentation built on May 30, 2019, 11:45 p.m.