Skip to content

2.0.0

Latest

Choose a tag to compare

@gopalindians gopalindians released this 30 Sep 19:10

Full Changelog: 1.1.0...v2.0.0

Breaking rewrite of the PHP SDK to match the Groww Trading API.

Breaking changes

  • Base URL is now https://api.groww.in/v1 with required X-API-VERSION: 1.0
  • Construct Client with an access token, or use Client::fromApproval() / Client::fromTotp()
  • Resource paths, method names, and enums follow the public docs (SL_M, CASH/FNO, validity DAY only)
  • Removed undocumented helpers (instrument search, PnL summary, margin limits, etc.)

Added

  • Smart orders (GTT/OCO)
  • Order list, status, trades, and status-by-reference
  • Live quote, LTP, OHLC, option chain, and Greeks
  • Historical candles, expiries, and contracts
  • User profile and instruments CSV download
    Packagist: composer require gopalindians/groww-php-sdk:^2.0