Skip to content

zoho/office-integrator-java-sdk-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zoho Office Integrator Java SDK Examples

Table Of Contents

Overview

This code repository showcases examples that illustrate the utilization of the Java SDK for Zoho Office Integrator in order to engage with Office Suite Editors.

Environmental Setup

JAVA SDK requires Java (version 8 and above) to be set up in your development environment.

Including the SDK in your project

Java SDK is included in this project through Maven distribution. You can include the SDK to your project using:

  1. Maven

    • Configure Office Integrator SDK using following snippet in your project pom.xml file.

      <repositories>
          <repository>
              <id>office-integrator-sdk</id>
              <url>https://maven.zohodl.com</url>
          </repository>
      </repositories>
      <dependencies>
          <dependency>
              <groupId>com.zoho.officeintegrator</groupId>
              <artifactId>office-integrator-sdk</artifactId>
              <version>1.0.0</version>
          </dependency>
      </dependencies>
  2. Gradle

    • Configure Office Integrator SDK using following snippet in your project gradle configuration file.

      repositories{
          maven { url "https://maven.zohodl.com" }
      }
      dependencies{
          implementation 'com.zoho.officeintegrator:office-integrator-sdk:1.0.0'
      }
  3. Download and Bundle SDK Jar in your project

How to run the sample code?

To run from Mac Terminal

  • Clone this project using following command.
git clone https://github.com/zoho/office-integrator-java-sdk-examples.git
  • Go to project folder
cd office-integrator-java-sdk-examples
  • Run following following command to download dependencies and complete the sample code
mvn compile
  • Run your sample code
mvn exec:java -Dexec.mainClass=<Main class name with package name>

e.g to run create document sample code

mvn exec:java -Dexec.mainClass=com.zoho.officeintegrator.v1.examples.writer.CreateDocument

To run from your favourite java supported IDE

  • Clone this project using following command.

    git clone https://github.com/zoho/office-integrator-java-sdk-examples.git
  • Open above cloned project in your IDE, download dependencies mentioned in maven pom.xml and run the sample java code

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages