All Projects → Azure → Microsoft365r

Azure / Microsoft365r

Licence: other
R SDK for interacting with Microsoft 365 APIs

Programming Languages

r
7636 projects

Labels

Projects that are alternatives of or similar to Microsoft365r

Microsoft365dsc
Manages, configures, extracts and monitors Microsoft 365 tenant configurations
Stars: ✭ 374 (+270.3%)
Mutual labels:  onedrive
Rclone
"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Yandex Files
Stars: ✭ 30,541 (+30138.61%)
Mutual labels:  onedrive
Onedrive Fuse Fs
Script to mount Microsoft OneDrive (formerly known as SkyDrive) folder as a FUSE filesystem
Stars: ✭ 68 (-32.67%)
Mutual labels:  onedrive
Onedrive
Free Client for OneDrive on Linux
Stars: ✭ 3,903 (+3764.36%)
Mutual labels:  onedrive
Onedrive Cf Index
🏵 Probably the best looking OneDrive Index around! Powered by Cloudflare Workers.
Stars: ✭ 622 (+515.84%)
Mutual labels:  onedrive
Fileprovider
FileManager replacement for Local, iCloud and Remote (WebDAV/FTP/Dropbox/OneDrive) files -- Swift
Stars: ✭ 724 (+616.83%)
Mutual labels:  onedrive
Office365 Rest Python Client
Office 365 & Microsoft Graph Library for Python
Stars: ✭ 289 (+186.14%)
Mutual labels:  onedrive
Onemanager Php
An index & manager of Onedrive based on serverless. Can be deployed to Heroku/Glitch/SCF/FG/FC/CFC/PHP web hosting/VPS.
Stars: ✭ 1,313 (+1200%)
Mutual labels:  onedrive
Onedrived Dev
A Microsoft OneDrive client for Linux, written in Python3.
Stars: ✭ 672 (+565.35%)
Mutual labels:  onedrive
Cyberduck
Cyberduck is a libre FTP, SFTP, WebDAV, Amazon S3, Backblaze B2, Microsoft Azure & OneDrive and OpenStack Swift file transfer client for Mac and Windows.
Stars: ✭ 1,080 (+969.31%)
Mutual labels:  onedrive
Onedrive Index Cloudflare Worker
DEPRECATED: Please use https://github.com/spencerwooo/onedrive-cf-index instead
Stars: ✭ 485 (+380.2%)
Mutual labels:  onedrive
Autoapisecret
加密版,应用id/机密不再可见
Stars: ✭ 597 (+491.09%)
Mutual labels:  onedrive
Python O365
A simple python library to interact with Microsoft Graph and Office 365 API
Stars: ✭ 742 (+634.65%)
Mutual labels:  onedrive
Onedrive
#1 Free OneDrive Client for Linux
Stars: ✭ 5,104 (+4953.47%)
Mutual labels:  onedrive
Odindex
Onedrive index transplanted from Heymind.
Stars: ✭ 91 (-9.9%)
Mutual labels:  onedrive
Onedrivecmd
A command line client for Onedrive.
Stars: ✭ 341 (+237.62%)
Mutual labels:  onedrive
Packtpub Crawler
Download your daily free Packt Publishing eBook https://www.packtpub.com/packt/offers/free-learning
Stars: ✭ 717 (+609.9%)
Mutual labels:  onedrive
Getonedrivedirectlink
批量获取OneDrive直链
Stars: ✭ 99 (-1.98%)
Mutual labels:  onedrive
Aria2.conf
Aria2 配置文件 | OneDrive & Google Drvive 离线下载 | 百度网盘转存
Stars: ✭ 1,321 (+1207.92%)
Mutual labels:  onedrive
Drivebackupv2
Uploads Minecraft backups to Google Drive/OneDrive or by (S)FTP
Stars: ✭ 26 (-74.26%)
Mutual labels:  onedrive

Microsoft365R

CRAN Downloads R-CMD-check

Microsoft365R is intended to be a simple yet powerful R interface to Microsoft 365 (formerly known as Office 365), leveraging the facilities provided by the AzureGraph package. Currently it enables access to data in Microsoft Teams, SharePoint Online, and OneDrive (personal and OneDrive for Business).

The primary repo for this package is at https://github.com/Azure/Microsoft365R; please submit issues and PRs there. It is also mirrored at the Cloudyr org at https://github.com/cloudyr/Microsoft365R. You can install the development version of the package with devtools::install_github("Azure/Microsoft365R").

Authentication

The first time you call one of the Microsoft365R functions (see below), it will use your Internet browser to authenticate with Azure Active Directory, in a similar manner to other web apps. See app_registration.md for more details on the app registration and permissions requested. The "Authentication" vignette describes the authentication process in greater depth, including optional arguments and troubleshooting common problems.

Client functions

Microsoft365R defines a number of top-level client functions to access the individual Microsoft 365 services. Below are some simple code examples that show how to use the package. For more information, see the "OneDrive and SharePoint" and "Microsoft Teams" vignettes.

OneDrive

To access your personal OneDrive call get_personal_onedrive(), and to access OneDrive for Business, call get_business_onedrive(). These return an R6 client object of class ms_drive, which has methods for working with files and folders. `

od <- get_personal_onedrive()
odb <- get_business_onedrive()

# list files and folders
od$list_items()
od$list_items("Documents")

# upload and download files
od$upload_file("somedata.xlsx")
od$download_file("Documents/myfile.docx")

# create a folder
od$create_folder("Documents/newfolder")

# open a document for editing in Word Online
od$open_item("Documents/myfile.docx")

SharePoint Online

To access a SharePoint site, use the get_sharepoint_site() function and provide the site name, URL or ID. You can also list the sites you're following with list_sharepoint_sites().

list_sharepoint_sites()
site <- get_sharepoint_site("My site")

# document libraries
site$list_drives()

# default document library
drv <- site$get_drive()

# a drive has the same methods as for OneDrive above
drv$list_items()
drv$open_item("teamproject/plan.xlsx")

# lists
site$get_lists()

lst <- site$get_list("my-list")

# return the items in the list as a data frame
lst$list_items()

Teams

To access a team in Microsoft Teams, use the get_team() function and provide the team name or ID. You can also list the teams you're in with list_teams(). These return objects of R6 class ms_team which has methods for working with channels; in turn, a channel has methods for working with messages and transferring files.

list_teams()
team <- get_team("My team")

# associated SharePoint site and drive
team$get_drive()
team$get_sharepoint_site()

# channels
team$list_channels()

chan <- team$get_channel("General")

# messages
chan$list_messages()
chan$send_message("Hello from R", attachments="hello.md")

msg <- chan$get_message("msg-id")
msg$send_reply("Reply from R")

# files: similar methods to OneDrive
chan$list_files()
chan$download_file("myfile.docx")

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].