fs.onedrivefs

Pyfilesystem2 implementation for OneDrive using Microsoft Graph API


Keywords
filesystem, Pyfilesystem2, onedrive
License
MIT
Install
pip install fs.onedrivefs==1.1.5

Documentation

fs.onedrivefs

Implementation of pyfilesystem2 file system using OneDrive

image codecov PyPI version

Usage

onedriveFS = OneDriveFS(
  clientId=<your client id>,
  clientSecret=<your client secret>,
  token=<token JSON saved by oauth2lib>,
  SaveToken=<function which saves a new token string after refresh>)

# onedriveFS is now a standard pyfilesystem2 file system

Register your app here to get a client ID and secret