Important: This preview SDK has been deprecated and is no longer being maintained. We recommend that you use Microsoft Graph and the associated Microsoft Graph SDKs instead.
Easily integrate services and data from Office 365 into Java apps using these libraries.
❗NOTE: You are free to use this code and library according to the terms of its included LICENSE and to open issues in this repo for unofficial support.
Information about official Microsoft support is available here.
These libraries are generated from API metadata using Vipr and Vipr-T4TemplateWriter and use a shared client stack provided by orc-for-java.
For information on release cadence and how to access built binaries before release, see Releases.
Current services, service versions, and SDK versions:
API | Service Version | SDK Version | Artifact Id |
---|---|---|---|
Mail/Calendar/Contacts | 1.0 | 1.0.0 | outlook-services-java |
Files | 1.0 | 1.0.0 | files-services-java |
Discovery | 1.0 | 1.0.0 | discovery-services-java |
AAD Graph | 1.5 | 0.15.0 | directory-services-java |
OneNote | 1.0 | 0.15.0 | onenote-services-java |
Unified API | beta | 0.2.5 | graph-services-java |
SharePoint Lists | 1.0 | 1.0.0 | sharepoint-services-java |
To use these libraries in your project, follow these general steps, as described further below:
- Configure dependencies in build.gradle.
- Set up authentication.
- Construct an API client.
- Call methods to make REST calls and receive results.
With your project prepared, the next step is to initialize the dependency manager and an API client.
❗ If you haven't yet registered your app in Azure AD, you'll need to do so before completing this step by following these instructions.
You will need to sign a Contributor License Agreement before submitting your pull request. To complete the Contributor License Agreement (CLA), you will need to submit a request via the form and then electronically sign the Contributor License Agreement when you receive the email containing the link to the document. This needs to only be done once for any Microsoft Open Technologies OSS project.
This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0.