The following samples are available on GitHub in the OneDrive organization. All of our samples are licensed under the MIT license and are open source projects.
-
OneDrive API Explorer (Windows/C#) A Windows Forms application to browse the OneDrive API. Includes a sample .NET Portable Code Library SDK to use the OneDrive API.
-
OneDrive Photo Browser (Windows/C#) An example Universal Windows App that uses the OneDrive SDK to browse images from a user's OneDrive.
-
OneDrive API Explorer (JavaScript) An HTML explorer for the OneDrive API. Highlights using the OneDrive API from a single page web application.
-
File picker for JavaScript Connect your JavaScript web application or website to open and save files with OneDrive without writing any user interface code.
- Outlook add-in for OneDrive sharing Share OneDrive files directly from Outlook and manage permissions on sharing links using the OneDrive API and an Outlook add-in.
- OneDrive Webhooks An ASP.NET MVC app that demonstrates how to use OneDrive webhooks to receive change notifications from OneDrive and retrieve files that have changed.
-
OneDrive API Explorer (Objective-C) An iOS application to browse files using OneDrive API.
-
OneDrive Sync Sample (Swift) An example application using the view.delta API to retrieve changes from the server and keep client state in sync.
-
OneDrive API Explorer (Android) This sample illustrates basic concepts for interacting with the OneDrive API from an Android application.
-
File picker for Android Connect your Android app to OneDrive with a few lines of code. No need to use the API or build a user interface.