IsPlanetDefeatedInPlanetaryWar

IsPlanetDefeatedInPlanetaryWar(PlanetNameplanet,Timetime)

Checks whether a planet is defeated in Graha Yuddha planetary war. The method applies the planetarywar rules documented in the source comments Only the five Tara Grahas can participate Mars Mercury Jupiter Venus Saturn Sun Moon Rahu and Ketu are excluded. A planetary war occurs only when two eligible planets are within 1 degree of each other. The planet with the lesser longitude is treated as the victor. The planet with the greater longitude is treated as defeated. A special wraparound check handles cases near the 0 360 boundary.

Parameters

NameTypeDescription
planet PlanetName The planet to test for defeat.
time Time The chart time.

Calling this method

Endpoint base: https://api.vedastro.org/api/Calculate/IsPlanetDefeatedInPlanetaryWar

Most Calculate methods accept parameters either as URL path segments (GET) or as a JSON body (POST), keyed by parameter name. The exact request shape varies per method — see the Getting Started guide for the response envelope, StdTime format, and Ayanamsa conventions that apply across the API. Use the "Try it" panel below to build and send a real request and see the exact call this method expects.

Loading try-it widget…