ballerinax/microsoft.onenote Ballerina library
Ballerina connector for Microsoft OneNote connects the Microsoft OneNote API through Ballerina. It provides the capability to perform CRUD operations on OneNote notebooks, sections and pages.
This module supports Microsoft Graph API v1.0 version and only allows to perform functions behalf of the currently logged in user.
Before using this connector in your Ballerina application, complete the following:
To use the MS OneNote connector in your Ballerina application, update the .bal file as follows:
Step 1: Import connector
First, import the
ballerinax/microsoft.onenote module as shown below.
Step 2: Create a new connector instance
microsoft.onenote:Configuration with the OAuth2 tokens obtained and initialize the connector with it.
Step 3: Invoke connector operation
Now you can use the operations available within the connector. Note that they are in the form of remote operations.
Following is an example on how to create a notebook using the connector.
Released date: over 2 years ago
Ballerina version: slbeta2
GraalVM compatible: Yes
Current verison: 0