diff --git a/README.md b/README.md index 38bc9ff..2b4df82 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,35 @@ Kite Connect is a set of REST-like APIs that expose many capabilities required t - [Java library documentation](https://kite.trade/docs/javakiteconnect/) ## Usage +Integrate the Kite Connect API Java client into your project using one of the following methods: + +### Download jar file - [Download Kite Connect 3 jar file](https://github.com/zerodhatech/javakiteconnect/tree/master/dist) and include it in your build path. - Include com.zerodhatech.kiteconnect into build path from maven. Use version 3.4.0 - To use javakiteconnect in **Android**, you need to include jar file in the libs directory and add the following line in you module's gradle file ``` compile files('libs/kiteconnect.jar') ``` +### Maven +Add the following dependency to your `pom.xml`: + +```xml + + + com.zerodhatech.kiteconnect + kiteconnect + 3.4.0 + +``` + +### Gradle +Add the following line to your build.gradle: + +```xml +// https://mvnrepository.com/artifact/com.zerodhatech.kiteconnect/kiteconnect +implementation 'com.zerodhatech.kiteconnect:kiteconnect:3.4.0' +``` + ## API usage ```java // Initialize Kiteconnect using apiKey.