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

Releases

No releases published

Packages

No packages published

Languages