onkardahale / conekt

A free-to-use, Java client for communicating with Zerodha's Kite Connect API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conekt

A free-to-use, Java client for communicating with Kite Connect API.
Conekt simulates a browser login to work without an API key.


Usage

  • Download Conekt 1.0 jar file
  • To use Conekt 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/conekt-1.0.jar')

API Usage

// Constructors are overloaded
// Initializes Conekt with no proxy and logging disabled.
Conekt conekt = new Conekt();

// To enable logging and to pass proxy while initialization
Conekt conekt = new Conekt(proxy, true);

// Pass creds for login
conekt.setCred("your_userId", "your_password", "your_twoFactorPIN");

// Call methods like the official Java Client

Documentation

Conekt was built keeping the official client in mind, so the usage is same as the official client.

Models returned for methods like conket.getProfile(), etc are the same as official client.
Be sure to import the models with com.zerodhatech.models.* in order to use them.


License

Conekt is licensed under MIT License.
Copyright © 2021 Onkar Dahale

About

A free-to-use, Java client for communicating with Zerodha's Kite Connect API

License:MIT License


Languages

Language:Java 100.0%