You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add scripts/sync-docs.ts to regenerate the domains table in
README.md and AGENTS.md between HTML markers, driven by
scripts/tag-descriptions.ts. Fails loudly on unknown tags,
stale entries, or missing llms-full.txt sections.
- Wire into bun run generate, lefthook pre-commit (auto-stage
re-synced files), lefthook pre-push (drift gate), and
release.yml (runs before the spec-diff check).
- Document biorhythm domain (6 endpoints) missed in last 2
releases, and add multi-language note (8 languages) to
README.md, AGENTS.md, and docs/llms-full.txt.
### Multi-language responses via `query: { lang }`
92
+
93
+
Interpretations are available in 8 languages: `en`, `tr`, `de`, `es`, `fr`, `hi`, `pt`, `ru`. Pass `lang` as a query param on any supported endpoint. Defaults to `en`.
94
+
95
+
```typescript
96
+
const { data } =awaitroxy.tarot.getDailyCard({
97
+
body: { date: '2026-04-14' },
98
+
query: { lang: 'es' },
99
+
});
100
+
101
+
const { data } =awaitroxy.numerology.calculateLifePath({
102
+
body: { year: 1990, month: 1, day: 15 },
103
+
query: { lang: 'hi' },
104
+
});
105
+
```
106
+
107
+
Supported: `astrology`, `vedicAstrology`, `tarot`, `numerology`, `crystals`, `iching`, `angelNumbers`, `biorhythm`. Not supported (English-only): `dreams`, `location`, `usage`. Languages without translations yet fall back to English.
108
+
86
109
### Error handling
87
110
88
111
All errors return `{ error: string, code: string }`. The `error` field is human-readable (may change wording). The `code` field is machine-readable (stable, safe to switch on).
@@ -130,6 +153,9 @@ Error codes:
130
153
| I Ching reading |`roxy.iching.castReading()`|
131
154
| Angel number meaning |`roxy.angelNumbers.getAngelNumber({ path: { number: '1111' } })`|
|`roxy.location`| 3 | City and country search for birth chart coordinates |
65
+
|`roxy.usage`| 1 | API usage stats, rate limits, subscription info |
66
+
<!-- END:DOMAINS -->
64
67
65
68
## Authentication
66
69
@@ -89,6 +92,19 @@ const client = createClient(
89
92
const roxy =newRoxy({ client });
90
93
```
91
94
95
+
## Multi-language responses
96
+
97
+
Interpretations, readings, and editorial text are available in 8 languages: English (`en`), Turkish (`tr`), German (`de`), Spanish (`es`), French (`fr`), Hindi (`hi`), Portuguese (`pt`), Russian (`ru`). Pass `query: { lang }` on any supported endpoint:
98
+
99
+
```typescript
100
+
const { data } =awaitroxy.tarot.getDailyCard({
101
+
body: { date: '2026-04-14' },
102
+
query: { lang: 'es' },
103
+
});
104
+
```
105
+
106
+
Supported domains: `astrology`, `vedicAstrology`, `tarot`, `numerology`, `crystals`, `iching`, `angelNumbers`, `biorhythm`. `dreams`, `location`, and `usage` are English-only (dream content is pre-authored, and the other two are structural). Languages without translations yet fall back to English.
107
+
92
108
## Error handling
93
109
94
110
Every method returns `{ data, error, response }`. Errors have `{ error: string, code: string }` — switch on `code` for programmatic handling.
**Multi-language responses.** Interpretations are available in 8 languages: `en`, `tr`, `de`, `es`, `fr`, `hi`, `pt`, `ru`. Pass `query: { lang }` on any supported endpoint. Supported: astrology, vedicAstrology, tarot, numerology, crystals, iching, angelNumbers, biorhythm. English-only: dreams, location, usage. Languages without translations yet fall back to English.
13
+
14
+
```typescript
15
+
const { data } = await roxy.astrology.getDailyHoroscope({
10-cycle biorhythm calculations (physical, emotional, intellectual, intuitive, aesthetic, awareness, spiritual, passion, mastery, wisdom). All methods are POST. Only `birthDate` (`YYYY-MM-DD`) is required; dates default to today (UTC) when omitted. Every method accepts an optional `query: { lang }` (`en`, `tr`, `de`, `es`, `hi`, `pt`, `fr`, `ru`).
628
+
629
+
```typescript
630
+
// Complete reading for a target date — all 10 cycles, phase detection, energy rating, interpretation, advice, critical day alerts
631
+
const { data } = await roxy.biorhythm.getReading({
0 commit comments