Skip to content

anilsingh581/Microsoft-GraphAPI-OneDriveDownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 

Repository files navigation

What is Microsoft Graph API?

Microsoft Graph API is a unified REST API provided by Microsoft that lets you access Microsoft 365 services like:

๐Ÿ“ง Outlook Mail & Calendar

๐Ÿ‘ค Users & Groups

๐Ÿ—‚๏ธ OneDrive & SharePoint Files

๐Ÿ“ Microsoft Teams

โœ… To-Do, Tasks, Planner, and more

Itโ€™s the gateway to data and intelligence in Microsoft 365.

๐Ÿ“ What is OneDrive Downloader using Graph API?

A OneDrive Downloader is an app that: Connects to a Microsoft account or organization Accesses the OneDrive files and folders Downloads files programmatically

This is done through Microsoft Graph's Files API.

๐Ÿ› ๏ธ Key Graph API Endpoints for OneDrive

๐Ÿ”น Get the root drive http GET /me/drive

๐Ÿ”น List files in a folder http GET /me/drive/root/children GET /me/drive/root:/Documents:/children

๐Ÿ”น Download a file http GET /me/drive/items/{item-id}/content

Or by path: http GET /me/drive/root:/Documents/file.txt:/content This returns the raw file stream, which you can save locally.

๐Ÿงฉ Authentication Required

Graph API uses Azure Active Directory (AAD) for auth.

You can authenticate using: Authorization Code Flow (for user login) Client Credentials Flow (for app-only access) Requires application registration in Azure Portal

About

Microsoft-GraphAPI-OneDriveDownloader

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages