Skip to content

lit-technology/sharepoint-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sharepoint Client

Actions Status

SharePoint is a document management and collaboration tool developed by Microsoft used as a Content Management System.

Requirements

Installation

Maven

Set up Apache Maven to authenticate to GitHub Package Registry by editing your ~/.m2/settings.xml. For more information, see "Authenticating to GitHub Package Registry".

<dependencies>
  <dependency>
    <groupId>com.philipbui.sharepoint</groupId>
    <artifactId>sharepoint-client</artifactId>
    <version>1.0.0</version>
  </dependency>
</dependencies>

Gradle

Set up Gradle to authenticate to GitHub Package Registry by editing your build.gradle or build.gradle.kts file. For more information, see "Authenticating to GitHub Package Registry".

dependencies {
    implementation("com.philipbui.sharepoint:sharepoint-client:1.0.0")
}

Usage

SharepointClient sharepointClient = new SharepointClient();
String accessToken = sharepointClient.getAccessToken(clientID, clientSecret, realm, principal, targetHost);
List<ExampleListItem> list = sharepointClient.getListItemsComplete(host, site, list, accessToken, ExampleListItem.class);

Features

  • Get List Items by List Name
  • Get All List Items by List Name

License

Sharepoint Client is available under the MIT license. See LICENSE for details.