Skip to content

Commit 0431d2c

Browse files
committed
docs: drop per-domain endpoint counts, sync spec, bump floor to 160+
Remove the per-domain Endpoints column from the domain tables and stop the generator rendering it. Resync specs/openapi.json with production, which also dropped the per-domain counts from the tag descriptions, so the codegen drift check passes. Raise the public total to 160+ to match the 162 product endpoints now live.
1 parent 5adce28 commit 0431d2c

4 files changed

Lines changed: 43 additions & 44 deletions

File tree

AGENTS.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,25 @@ $result = $roxy->location->searchCities(q: 'New York');
3434
## Domains
3535

3636
<!-- BEGIN:DOMAINS -->
37-
| Property | Endpoints | What it covers |
38-
|---|---|---|
39-
| `$roxy->astrology` | 33 | Western astrology API for natal birth charts, daily, weekly, and monthly horoscopes with unique content per sign, syn... |
40-
| `$roxy->vedicAstrology` | 43 | Vedic astrology (Jyotish) and KP API for kundli generation with 15 divisional charts (D1-D60), Ashtakoot Gun Milan ku... |
41-
| `$roxy->numerology` | 20 | Numerology API to calculate life path, expression, soul urge, personality, and maturity numbers, with Pinnacle and Ch... |
42-
| `$roxy->tarot` | 10 | Tarot reading API with the complete 78-card Rider-Waite-Smith deck and card meanings for love, career, health, and sp... |
43-
| `$roxy->humanDesign` | 12 | Generate the full Human Design bodygraph from a birth moment: type, strategy, inner authority, profile, definition, i... |
44-
| `$roxy->forecast` | 5 | Merge upcoming transit aspects, sign ingresses, retrograde stations, new and full moons, biorhythm critical days, and... |
45-
| `$roxy->biorhythm` | 6 | The most complete biorhythm API: 10 cycle types across 3 primary (physical, emotional, intellectual), 4 secondary (in... |
46-
| `$roxy->iching` | 9 | I-Ching oracle API with all 64 hexagrams, 384 changing lines, 8 trigrams, and modern interpretations for love, career... |
47-
| `$roxy->crystals` | 12 | Crystal healing API with 80 healing crystals and gemstones and their spiritual, emotional, and physical properties |
48-
| `$roxy->dreams` | 5 | Dream interpretation API with a 2,000+ symbol dream dictionary and psychological meanings covering animals, objects,... |
49-
| `$roxy->angelNumbers` | 4 | Angel numbers API with meanings for 111, 222, 333, 444, 555, 666, 777, 888, 999, 1111, and 75+ sequences covering eve... |
50-
| `$roxy->location` | 3 | City search and geocoding API with 7,000+ cities across 227 countries, returning latitude, longitude, IANA timezone,... |
51-
| `$roxy->usage` | 1 | Monitor your API usage, check rate limits, and track request consumption |
52-
| `$roxy->languages` | 1 | List the response languages accepted by the `lang` query parameter on every i18n-aware endpoint |
37+
| Property | What it covers |
38+
|---|---|
39+
| `$roxy->astrology` | Western astrology API for natal birth charts, daily, weekly, and monthly horoscopes with unique content per sign, syn... |
40+
| `$roxy->vedicAstrology` | Vedic astrology (Jyotish) and KP API for kundli generation with 15 divisional charts (D1-D60), Ashtakoot Gun Milan ku... |
41+
| `$roxy->numerology` | Numerology API to calculate life path, expression, soul urge, personality, and maturity numbers, with Pinnacle and Ch... |
42+
| `$roxy->tarot` | Tarot reading API with the complete 78-card Rider-Waite-Smith deck and card meanings for love, career, health, and sp... |
43+
| `$roxy->humanDesign` | Generate the full Human Design bodygraph from a birth moment: type, strategy, inner authority, profile, definition, i... |
44+
| `$roxy->forecast` | Merge upcoming transit aspects, sign ingresses, retrograde stations, new and full moons, biorhythm critical days, and... |
45+
| `$roxy->biorhythm` | The most complete biorhythm API: 10 cycle types across 3 primary (physical, emotional, intellectual), 4 secondary (in... |
46+
| `$roxy->iching` | I-Ching oracle API with all 64 hexagrams, 384 changing lines, 8 trigrams, and modern interpretations for love, career... |
47+
| `$roxy->crystals` | Crystal healing API with 80 healing crystals and gemstones and their spiritual, emotional, and physical properties |
48+
| `$roxy->dreams` | Dream interpretation API with a 2,000+ symbol dream dictionary and psychological meanings covering animals, objects,... |
49+
| `$roxy->angelNumbers` | Angel numbers API with meanings for 111, 222, 333, 444, 555, 666, 777, 888, 999, 1111, and 75+ sequences covering eve... |
50+
| `$roxy->location` | City search and geocoding API with 7,000+ cities across 227 countries, returning latitude, longitude, IANA timezone,... |
51+
| `$roxy->usage` | Monitor your API usage, check rate limits, and track request consumption |
52+
| `$roxy->languages` | List the response languages accepted by the `lang` query parameter on every i18n-aware endpoint |
5353
<!-- END:DOMAINS -->
5454

55-
150+ endpoints across 12+ product domains plus usage and languages. Per-domain counts in the table above auto-sync from `specs/openapi.json` at release time.
55+
160+ endpoints across 12+ product domains plus usage and languages. The table above auto-syncs from `specs/openapi.json` at release time.
5656

5757
## Critical patterns
5858

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![Packagist](https://img.shields.io/packagist/v/roxyapi/sdk.svg)](https://packagist.org/packages/roxyapi/sdk)
1010
[![PHP Version](https://img.shields.io/packagist/php-v/roxyapi/sdk.svg)](https://packagist.org/packages/roxyapi/sdk)
1111

12-
Official PHP SDK for [RoxyAPI](https://roxyapi.com): natal charts, daily horoscopes, synastry, Vedic kundli, tarot spreads, human design bodygraphs, and transit forecasts across Western and Vedic astrology, numerology, tarot, human design, forecast, biorhythm, I Ching, crystals, dreams, angel numbers, and location geocoding. 150+ endpoints across 12+ domains, one API key, one dependency (Saloon).
12+
Official PHP SDK for [RoxyAPI](https://roxyapi.com): natal charts, daily horoscopes, synastry, Vedic kundli, tarot spreads, human design bodygraphs, and transit forecasts across Western and Vedic astrology, numerology, tarot, human design, forecast, biorhythm, I Ching, crystals, dreams, angel numbers, and location geocoding. 160+ endpoints across 12+ domains, one API key, one dependency (Saloon).
1313

1414
## Install
1515

@@ -53,22 +53,22 @@ Get an API key at [roxyapi.com/pricing](https://roxyapi.com/pricing). All endpoi
5353
`createRoxy($apiKey)` returns a `Roxy` connector that lazy-loads one resource per OpenAPI tag:
5454

5555
<!-- BEGIN:DOMAINS -->
56-
| Property | Endpoints | What it covers |
57-
|---|---|---|
58-
| `$roxy->astrology` | 33 | Western astrology API for natal birth charts, daily, weekly, and monthly horoscopes with unique content per sign, syn... |
59-
| `$roxy->vedicAstrology` | 43 | Vedic astrology (Jyotish) and KP API for kundli generation with 15 divisional charts (D1-D60), Ashtakoot Gun Milan ku... |
60-
| `$roxy->numerology` | 20 | Numerology API to calculate life path, expression, soul urge, personality, and maturity numbers, with Pinnacle and Ch... |
61-
| `$roxy->tarot` | 10 | Tarot reading API with the complete 78-card Rider-Waite-Smith deck and card meanings for love, career, health, and sp... |
62-
| `$roxy->humanDesign` | 12 | Generate the full Human Design bodygraph from a birth moment: type, strategy, inner authority, profile, definition, i... |
63-
| `$roxy->forecast` | 5 | Merge upcoming transit aspects, sign ingresses, retrograde stations, new and full moons, biorhythm critical days, and... |
64-
| `$roxy->biorhythm` | 6 | The most complete biorhythm API: 10 cycle types across 3 primary (physical, emotional, intellectual), 4 secondary (in... |
65-
| `$roxy->iching` | 9 | I-Ching oracle API with all 64 hexagrams, 384 changing lines, 8 trigrams, and modern interpretations for love, career... |
66-
| `$roxy->crystals` | 12 | Crystal healing API with 80 healing crystals and gemstones and their spiritual, emotional, and physical properties |
67-
| `$roxy->dreams` | 5 | Dream interpretation API with a 2,000+ symbol dream dictionary and psychological meanings covering animals, objects,... |
68-
| `$roxy->angelNumbers` | 4 | Angel numbers API with meanings for 111, 222, 333, 444, 555, 666, 777, 888, 999, 1111, and 75+ sequences covering eve... |
69-
| `$roxy->location` | 3 | City search and geocoding API with 7,000+ cities across 227 countries, returning latitude, longitude, IANA timezone,... |
70-
| `$roxy->usage` | 1 | Monitor your API usage, check rate limits, and track request consumption |
71-
| `$roxy->languages` | 1 | List the response languages accepted by the `lang` query parameter on every i18n-aware endpoint |
56+
| Property | What it covers |
57+
|---|---|
58+
| `$roxy->astrology` | Western astrology API for natal birth charts, daily, weekly, and monthly horoscopes with unique content per sign, syn... |
59+
| `$roxy->vedicAstrology` | Vedic astrology (Jyotish) and KP API for kundli generation with 15 divisional charts (D1-D60), Ashtakoot Gun Milan ku... |
60+
| `$roxy->numerology` | Numerology API to calculate life path, expression, soul urge, personality, and maturity numbers, with Pinnacle and Ch... |
61+
| `$roxy->tarot` | Tarot reading API with the complete 78-card Rider-Waite-Smith deck and card meanings for love, career, health, and sp... |
62+
| `$roxy->humanDesign` | Generate the full Human Design bodygraph from a birth moment: type, strategy, inner authority, profile, definition, i... |
63+
| `$roxy->forecast` | Merge upcoming transit aspects, sign ingresses, retrograde stations, new and full moons, biorhythm critical days, and... |
64+
| `$roxy->biorhythm` | The most complete biorhythm API: 10 cycle types across 3 primary (physical, emotional, intellectual), 4 secondary (in... |
65+
| `$roxy->iching` | I-Ching oracle API with all 64 hexagrams, 384 changing lines, 8 trigrams, and modern interpretations for love, career... |
66+
| `$roxy->crystals` | Crystal healing API with 80 healing crystals and gemstones and their spiritual, emotional, and physical properties |
67+
| `$roxy->dreams` | Dream interpretation API with a 2,000+ symbol dream dictionary and psychological meanings covering animals, objects,... |
68+
| `$roxy->angelNumbers` | Angel numbers API with meanings for 111, 222, 333, 444, 555, 666, 777, 888, 999, 1111, and 75+ sequences covering eve... |
69+
| `$roxy->location` | City search and geocoding API with 7,000+ cities across 227 countries, returning latitude, longitude, IANA timezone,... |
70+
| `$roxy->usage` | Monitor your API usage, check rate limits, and track request consumption |
71+
| `$roxy->languages` | List the response languages accepted by the `lang` query parameter on every i18n-aware endpoint |
7272
<!-- END:DOMAINS -->
7373

7474
Every method returns `array<string, mixed>` decoded from JSON, or throws `RoxyAPI\Sdk\RoxyApiException` on 4xx/5xx.

scripts/sync-docs.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,11 @@ for (const methods of Object.values(spec.paths ?? {})) {
4646
}
4747

4848
function renderTable() {
49-
const header = '| Property | Endpoints | What it covers |\n|---|---|---|';
49+
const header = '| Property | What it covers |\n|---|---|';
5050
const rows = specTags.map((tag) => {
5151
const ns = tagToNamespace(tag);
52-
const count = counts.get(tag) ?? 0;
5352
const summary = tagSummary(tagObjects[tag] ?? { name: tag });
54-
return `| \`$roxy->${ns}\` | ${count} | ${summary} |`;
53+
return `| \`$roxy->${ns}\` | ${summary} |`;
5554
});
5655
return [BEGIN, header, ...rows, END].join('\n');
5756
}

0 commit comments

Comments
 (0)