Skip to content

Commit 91ed99e

Browse files
release: v0.1.24
1 parent 9737138 commit 91ed99e

5 files changed

Lines changed: 36 additions & 36 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "uv_build"
44

55
[project]
66
name = "roxy-sdk"
7-
version = "0.1.23"
7+
version = "0.1.24"
88
description = "Python SDK for RoxyAPI. Astrology, tarot, numerology, and more."
99
readme = "README.md"
1010
license = "MIT"

specs/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53376,7 +53376,7 @@
5337653376
},
5337753377
"/forecast/solar-return": {
5337853378
"post": {
53379-
"operationId": "generateSolarReturn",
53379+
"operationId": "forecastSolarReturn",
5338053380
"tags": [
5338153381
"Forecast"
5338253382
],

src/roxy_sdk/factory.py

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2613,6 +2613,38 @@ async def find_significant_dates_async(self, *, birth_data: dict[str, Any], star
26132613
params["lang"] = lang
26142614
return await self._post_async(f"/forecast/significant-dates", body, params=params or None)
26152615

2616+
def forecast_solar_return(self, *, date: str, time: str, year: int, latitude: float, longitude: float, timezone: str, house_system: str | None = None, lang: str | None = None) -> Any:
2617+
"""Solar return chart - Annual birthday forecast chart for a single subject"""
2618+
body: dict[str, Any] = {}
2619+
body["date"] = date
2620+
body["time"] = time
2621+
body["year"] = year
2622+
body["latitude"] = latitude
2623+
body["longitude"] = longitude
2624+
body["timezone"] = timezone
2625+
if house_system is not None:
2626+
body["houseSystem"] = house_system
2627+
params: dict[str, Any] = {}
2628+
if lang is not None:
2629+
params["lang"] = lang
2630+
return self._post(f"/forecast/solar-return", body, params=params or None)
2631+
2632+
async def forecast_solar_return_async(self, *, date: str, time: str, year: int, latitude: float, longitude: float, timezone: str, house_system: str | None = None, lang: str | None = None) -> Any:
2633+
"""Solar return chart - Annual birthday forecast chart for a single subject (async)"""
2634+
body: dict[str, Any] = {}
2635+
body["date"] = date
2636+
body["time"] = time
2637+
body["year"] = year
2638+
body["latitude"] = latitude
2639+
body["longitude"] = longitude
2640+
body["timezone"] = timezone
2641+
if house_system is not None:
2642+
body["houseSystem"] = house_system
2643+
params: dict[str, Any] = {}
2644+
if lang is not None:
2645+
params["lang"] = lang
2646+
return await self._post_async(f"/forecast/solar-return", body, params=params or None)
2647+
26162648
def forecast_transits(self, *, birth_data: dict[str, Any], start_date: str | None = None, end_date: str | None = None, min_significance: float | None = None, lang: str | None = None) -> Any:
26172649
"""Western transit forecast - Transit aspects, sign ingresses, retrograde stations"""
26182650
body: dict[str, Any] = {}
@@ -2681,38 +2713,6 @@ async def generate_digest_async(self, *, birth_data: dict[str, Any], start_date:
26812713
params["lang"] = lang
26822714
return await self._post_async(f"/forecast/digest", body, params=params or None)
26832715

2684-
def generate_solar_return(self, *, date: str, time: str, year: int, latitude: float, longitude: float, timezone: str, house_system: str | None = None, lang: str | None = None) -> Any:
2685-
"""Solar return chart - Annual birthday forecast chart for a single subject"""
2686-
body: dict[str, Any] = {}
2687-
body["date"] = date
2688-
body["time"] = time
2689-
body["year"] = year
2690-
body["latitude"] = latitude
2691-
body["longitude"] = longitude
2692-
body["timezone"] = timezone
2693-
if house_system is not None:
2694-
body["houseSystem"] = house_system
2695-
params: dict[str, Any] = {}
2696-
if lang is not None:
2697-
params["lang"] = lang
2698-
return self._post(f"/forecast/solar-return", body, params=params or None)
2699-
2700-
async def generate_solar_return_async(self, *, date: str, time: str, year: int, latitude: float, longitude: float, timezone: str, house_system: str | None = None, lang: str | None = None) -> Any:
2701-
"""Solar return chart - Annual birthday forecast chart for a single subject (async)"""
2702-
body: dict[str, Any] = {}
2703-
body["date"] = date
2704-
body["time"] = time
2705-
body["year"] = year
2706-
body["latitude"] = latitude
2707-
body["longitude"] = longitude
2708-
body["timezone"] = timezone
2709-
if house_system is not None:
2710-
body["houseSystem"] = house_system
2711-
params: dict[str, Any] = {}
2712-
if lang is not None:
2713-
params["lang"] = lang
2714-
return await self._post_async(f"/forecast/solar-return", body, params=params or None)
2715-
27162716
def generate_timeline(self, *, birth_data: dict[str, Any], start_date: str | None = None, end_date: str | None = None, domains: list[str] | None = None, min_significance: float | None = None, domain_weights: dict[str, Any] | None = None, lang: str | None = None) -> Any:
27172717
"""Cross-domain forecast timeline - Transits, ingresses, stations, dasha changes, critical days"""
27182718
body: dict[str, Any] = {}

src/roxy_sdk/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "0.1.23"
1+
VERSION = "0.1.24"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)