Dashas (행성 주기)
다시(dashi)는 베다 점성술에서 행성을 다스리는 기간이야. 각 행성은 사람 인생의 특정 구간을 ‘통치’하고, 이 기간들의 순환이 사건들의 타이밍을 설명해. AstroWay는 10개의 다시 시스템 × 5단계 중첩 = 50개의 엔드포인트를 하나의 API에 포함하고 있어.
우리가 계산하는 것
섹션 제목: “우리가 계산하는 것”- Vimshottari: 기본 시스템 (120년 주기, 출생 시 달의 나크샤트라에 연결). 현대 요기시 실무자 약 ~95%가 사용해.
- Yogini: 36년 주기, 8명의 여신-지도자 (Mangala, Pingala, Dhanya, Bhramari, Bhadrika, Ulka, Siddha, Sankata).
- Ashtottari: 108년 주기, 태양에 연결.
- Kalachakra: 순환형 다시, 나크샤트라에 기반, 선형이 아니야.
- Chara: 라시-다시 (별자리를 다스리고, 행성은 아니야), Jaimini 시스템.
- Tribhagi: Vimshottari의 변형으로 세 배 빠른 속도.
- Shatabdika: 100년 주기 (희귀, 장수자를 위해).
- Shodashottari: 116년 주기, 티티에 연결.
- Sthira: 고정 rasi-다시 (Jaimini).
- Shoola: 불규칙 기간을 가진 rasi-다시 (Jaimini).
각 시스템 내부에는 5단계 상세화가 있어: Maha (주 기간) → Antar (하위 기간) → Pratyantar (하위 하위) → Sookshma (마이크로) → Prana (나노초 수준).
핵심 엔드포인트
섹션 제목: “핵심 엔드포인트”| 엔드포인트 | 크레딧 | 용도 |
|---|---|---|
/v1/vedic/dashas/vimshottari/maha | 20 | Vimshottari maha-다시 120년 |
/v1/vedic/dashas/vimshottari/antar | 20 | 현재 maha 안의 Antar-다시 |
/v1/vedic/dashas/vimshottari/pratyantar | 20 | Pratyantar (3단계 중첩) |
/v1/vedic/dashas/vimshottari/sookshma | 20 | Sookshma (4단계) |
/v1/vedic/dashas/vimshottari/prana | 20 | Prana (가장 세밀한, 일일 간격) |
/v1/vedic/dashas/yogini/maha | 20 | Yogini 36년 주기 |
/v1/vedic/dashas/ashtottari/maha | 20 | Ashtottari 108년 주기 |
/v1/vedic/dashas/kalachakra/maha | 20 | 순환형 Kalachakra |
/v1/vedic/dashas/chara/maha | 20 | Chara rasi-다시 (Jaimini) |
/v1/vedic/dashas/shodashottari/maha | 20 | Shodashottari 116년 주기 |
전체 50개의 엔드포인트 목록은 OpenAPI (태그 Vedic / Dashas)에 있어.
curl -X POST https://api.astroway.info/v1/vedic/dashas/vimshottari/maha \ -H "X-Api-Key: aw_live_your_key_here" \ -H "Content-Type: application/json" \ -d '{ "date": "1990-07-14", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52, "ayanamsa": "lahiri" }'const r = await fetch('https://api.astroway.info/v1/vedic/dashas/vimshottari/maha', { method: 'POST', headers: { 'X-Api-Key': process.env.ASTROWAY_API_KEY!, 'Content-Type': 'application/json', }, body: JSON.stringify({ date: '1990-07-14', time: '14:30:00', timezoneOffset: 3, latitude: 50.45, longitude: 30.52, ayanamsa: 'lahiri', }),});const { data } = await r.json();// startDate/endDate are 'YYYY-MM-DD HH:MM' in the birth timezone, so they compare as textconst now = new Date().toISOString().slice(0, 16).replace('T', ' ');const current = data.periods.find((p) => p.startDate <= now && now < p.endDate);console.log(`Current maha: ${current.planetName} until ${current.endDate}`);import os, requestsfrom datetime import datetime
r = requests.post( 'https://api.astroway.info/v1/vedic/dashas/vimshottari/maha', headers={'X-Api-Key': os.environ['ASTROWAY_API_KEY']}, json={ 'date': '1990-07-14', 'time': '14:30:00', 'timezoneOffset': 3, 'latitude': 50.45, 'longitude': 30.52, 'ayanamsa': 'lahiri', },)data = r.json()['data']now = datetime.now().strftime('%Y-%m-%d %H:%M')current = next(p for p in data['periods'] if p['startDate'] <= now < p['endDate'])print(f"Current: {current['planetName']} until {current['endDate']}")응답 예시
섹션 제목: “응답 예시”{ "system": "Vimshottari", "level": "maha", "ayanamsa": 23.724844, "moonSiderealLongitude": 345.332629, "nakshatra": { "number": 26, "name": "Uttara Bhadrapada", "ruler": "Saturn", "startDeg": 333.3333, "endDeg": 346.6667, "pada": 4 }, "initial": { "initialPlanet": 6, "initialPlanetName": "Saturn", "nakshatra": 26, "nakshatraName": "Uttara Bhadrapada", "pada": 4, "balanceYears": 1, "balanceMonths": 10, "balanceDays": 25, "elapsedYears": 17.098996 }, "periods": [ { "planet": 6, "planetName": "Saturn", "startDate": "1990-07-14 14:29", "endDate": "1992-06-07 22:42", "durationYears": 1.901004 }, { "planet": 2, "planetName": "Mercury", "startDate": "1992-06-07 22:42", "endDate": "2009-06-08 04:42", "durationYears": 17 }, { "planet": 100, "planetName": "Ketu", "startDate": "2009-06-08 04:42", "endDate": "2016-06-07 22:42", "durationYears": 7 } ]}정확도와 출처
섹션 제목: “정확도와 출처”- 정전 텍스트: Brihat Parashara Hora Shastra (BPHS), 46–52장 - 각 다시 시스템이 별도로 설명돼.
- Reference implementation: PyJHora (Apache 2.0) - 우리 10개 시스템에 대한 교차 검증. Vimshottari/Yogini/Ashtottari/Kalachakra 알고리즘은 PyJHora와 완전히 일치; Sthira/Shoola는 Jaimini sign-strength helper 차이로 전이 시간에 약간의 드리프트가 있어.
- Ayanamsa:
lahiri(기본, MoSh/IISc),raman,krishnamurti,fagan-bradley,yukteshwar,sassanian,j2000,aldebaran,galactic-center를 지원해. Lahiri는 Indian Ephemeris의 공식 표준이야. - Tropical fallback: 모든 다시는 황도 좌표를 사용해: 키에
tropical: true를 전달하면 내부적으로 ayanamsa 오프셋을 적용해. - Audit: 각 다시 시스템에 대해 /accuracy/에 별도 기록이 있어, last-fix 날짜와 레퍼런스 대비 드리프트를 표시해.
도움이 되었나요?
피드백 감사합니다.