Skip to content

Commit b479997

Browse files
committed
docs: globalize examples, front-load high-demand keywords, sync domains to 12+
Lead-with-global: the Western examples (natal chart, daily horoscope, synastry, human design, forecast) use global cities while the Vedic section keeps Indian coordinates. The README opening now front-loads the high-demand surface (natal charts, daily horoscopes, synastry, Vedic kundli, tarot spreads, numerology, human design bodygraphs, transit forecasts). Domain count reads 12+ and the breadth lists include human design and forecast.
1 parent 2ac4065 commit b479997

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# RoxyApi .NET SDK - Agent Guide
22

3-
.NET SDK for RoxyAPI. Twelve domains (Western astrology, Vedic astrology, numerology, tarot, human design, forecast, biorhythm, I Ching, crystals, dreams, angel numbers, location) plus usage and languages. One API key, fully typed, generated from the OpenAPI spec.
3+
.NET SDK for RoxyAPI. 12+ domains (Western astrology, Vedic astrology, numerology, tarot, human design, forecast, biorhythm, I Ching, crystals, dreams, angel numbers, location) plus utility namespaces (usage, languages). One API key, fully typed, generated from the OpenAPI spec.
44

55
> Before writing code with this SDK, read `docs/llms-full.txt` in this package for the complete method reference with one example per endpoint.
66
@@ -153,7 +153,7 @@ Responses are fully typed objects, not dictionaries. Discover fields with Intell
153153
- **Natal chart**: `Planets`, `Houses`, `Aspects`, `Ascendant`, `Midheaven`, `Summary`. Each planet has `Name`, `Sign`, `Degree`, `House`, `IsRetrograde`. The `Planets` list has more than ten entries (classical bodies plus nodes and key points).
154154

155155
```csharp
156-
var chart = await roxy.Astrology.NatalChart.PostAsync(new() { Date = new Date(1990, 1, 15), Time = "14:30:00", Latitude = 28.6139, Longitude = 77.209, Timezone = new() { Double = 5.5 } });
156+
var chart = await roxy.Astrology.NatalChart.PostAsync(new() { Date = new Date(1990, 1, 15), Time = "14:30:00", Latitude = 40.7128, Longitude = -74.006, Timezone = new() { Double = -5 } });
157157
foreach (var p in chart!.Planets!)
158158
Console.WriteLine($"{p.Name}: {p.Sign} (house {p.House})");
159159
```
@@ -204,7 +204,7 @@ Copy the format column exactly.
204204
| `Date` (and `BirthDate`, `StartDate`, ...) | The `Date` struct from `Microsoft.Kiota.Abstractions` | `new Date(1990, 1, 15)` | `"1990-01-15"`, `DateTime.Now`, `new DateTime(...)` |
205205
| `Time` | 24-hour string | `"14:30:00"`, `"09:00:00"` | `"2:30 PM"`, `"14:30"` (no seconds) |
206206
| `Timezone` | Union wrapper: decimal OR IANA | `new() { Double = 5.5 }`, `new() { Double = -5 }` OR `new() { String = "America/New_York" }` | `5.5`, `"5.5"`, `"+0530"` assigned directly |
207-
| `Latitude` / `Longitude` | `double` | `28.6139`, `-74.006` | `"28.6139"`, DMS strings |
207+
| `Latitude` / `Longitude` | `double` | `40.7128`, `-74.006` | `"40.7128"`, DMS strings |
208208
| `sign` (horoscope indexer) | Lowercase zodiac name | `["aries"]`, `["scorpio"]` | `["Aries"]`, `["1"]` |
209209
| `chakra` (crystals indexer) | Title-case name | `["Root"]`, `["Heart"]`, `["Third Eye"]` | `["heart"]`, `["third-eye"]` |
210210
| `FullName` (numerology) | Birth-certificate name | `"John William Smith"` | Nickname, partial name |

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The .NET SDK for astrology, Vedic astrology, numerology, tarot, and more.
1111

1212
One API key. Fully typed. Verified against NASA JPL Horizons.
1313

14-
The fastest way to add natal charts, kundli matching, daily horoscopes, tarot readings, and spiritual insights to ASP.NET Core, Blazor, MAUI, Unity, and AI agents. Twelve domains behind a single [Roxy](https://roxyapi.com) subscription, interpretations in eight languages, generated from the OpenAPI spec so new endpoints appear the day they ship.
14+
The fastest way to add natal charts, daily horoscopes, synastry, Vedic kundli, tarot spreads, numerology, human design bodygraphs, and transit forecasts to ASP.NET Core, Blazor, MAUI, Unity, and AI agents. 12+ domains behind a single [Roxy](https://roxyapi.com) subscription, interpretations in eight languages, generated from the OpenAPI spec so new endpoints appear the day they ship.
1515

1616
## Install
1717

@@ -147,7 +147,7 @@ var horoscope = await roxy.Astrology.Horoscope["aries"].Daily.GetAsync();
147147
var synastry = await roxy.Astrology.Synastry.PostAsync(new()
148148
{
149149
Person1 = new() { Date = new Date(1990, 1, 15), Time = "14:30:00", Latitude = 40.7128, Longitude = -74.006, Timezone = new() { Double = -5 } },
150-
Person2 = new() { Date = new Date(1992, 7, 22), Time = "09:00:00", Latitude = 51.5074, Longitude = -0.1278, Timezone = new() { Double = 0 } },
150+
Person2 = new() { Date = new Date(1992, 7, 22), Time = "09:00:00", Latitude = 51.5074, Longitude = -0.1278, Timezone = new() { Double = 1 } },
151151
});
152152

153153
// Moon phase. Viral for wellness, cycle-tracking, and meditation apps.
@@ -248,7 +248,7 @@ The breakout 2026 self-discovery category. One call returns the full bodygraph f
248248
var bodygraph = await roxy.HumanDesign.Bodygraph.PostAsync(new()
249249
{
250250
Date = new Date(1990, 7, 4), Time = "10:12:00",
251-
Latitude = 28.6139, Longitude = 77.209, Timezone = new() { Double = 5.5 },
251+
Latitude = 40.7128, Longitude = -74.006, Timezone = new() { Double = -4 },
252252
});
253253
// bodygraph.Type, bodygraph.Strategy, bodygraph.Profile, bodygraph.Definition
254254
// bodygraph.Centers, bodygraph.Channels, bodygraph.Gates, bodygraph.IncarnationCross
@@ -261,7 +261,7 @@ The first cross-domain, stateless forecast in the catalog. One call merges Weste
261261
```csharp
262262
var timeline = await roxy.Forecast.Timeline.PostAsync(new()
263263
{
264-
BirthData = new() { Date = new Date(1990, 7, 4), Time = "10:12:00", Latitude = 28.6139, Longitude = 77.209, Timezone = new() { Double = 5.5 } },
264+
BirthData = new() { Date = new Date(1990, 7, 4), Time = "10:12:00", Latitude = 40.7128, Longitude = -74.006, Timezone = new() { Double = -4 } },
265265
StartDate = new Date(2026, 6, 1),
266266
EndDate = new Date(2026, 6, 30),
267267
});
@@ -441,7 +441,7 @@ Console.WriteLine($"{city.City}, {city.Country} at {city.Latitude}, {city.Longit
441441
var chart = await roxy.Astrology.NatalChart.PostAsync(new()
442442
{
443443
Date = new Date(1990, 1, 15), Time = "14:30:00",
444-
Latitude = 28.6139, Longitude = 77.209, Timezone = new() { Double = 5.5 },
444+
Latitude = 40.7128, Longitude = -74.006, Timezone = new() { Double = -5 },
445445
});
446446

447447
foreach (var planet in chart!.Planets!)

docs/llms-full.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ How the calls below map to the API:
1616
- **Request bodies use a target-typed `new()`.** The body type is inferred from the method, so you never name it. Property names are the PascalCase of the JSON fields (`birth_date` becomes `BirthDate`).
1717
- **Query parameters use a configuration lambda.** `await roxy.Crystals.Search.GetAsync(c => c.QueryParameters.Q = "amethyst");`
1818
- **Dates use `new Date(year, month, day)`; times are 24-hour strings (`"14:30:00"`).**
19-
- **`Timezone` is a union:** `new() { Double = 5.5 }` (decimal offset) or `new() { String = "Asia/Kolkata" }` (IANA name, resolved to the DST-correct offset).
19+
- **`Timezone` is a union:** `new() { Double = -5 }` (decimal offset) or `new() { String = "America/New_York" }` (IANA name, resolved to the DST-correct offset).
2020
- **Every call is async and throws `RoxyError` on a 4xx or 5xx.** Capture the result directly: `var chart = await roxy.Astrology.NatalChart.PostAsync(new() { ... });`
2121

2222
**Multi-language responses.** Interpretations are available in eight languages: en, tr, de, es, fr, hi, pt, ru. Add `c => c.QueryParameters.Lang = "es"` to any supported endpoint. Supported: astrology, vedicAstrology, numerology, tarot, biorhythm, iching, crystals, angelNumbers. English-only: dreams, location, usage, languages. Untranslated fields fall back to English.

0 commit comments

Comments
 (0)