Skip to content

Commit ee97db3

Browse files
release: v0.1.51
1 parent fcefafd commit ee97db3

131 files changed

Lines changed: 37371 additions & 6014 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

AGENTS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,13 @@ $result = $roxy->location->searchCities(q: 'New York');
4242
| `$roxy->humanDesign` | Generate the full Human Design bodygraph from a birth moment: type, strategy, inner authority, profile, definition, i... |
4343
| `$roxy->chineseAstrology` | Calculate BaZi Four Pillars charts, Chinese zodiac signs, and the Chinese lunisolar calendar from any birth moment: y... |
4444
| `$roxy->fengShui` | Compute classical feng shui from one API: Xuan Kong flying star natal charts for any of the nine periods and 24 mount... |
45+
| `$roxy->mesoamericanAstrology` | Calculate Mayan astrology day signs, the Tzolkin sacred round, the Haab year, the full Long Count and the Aztec tonal... |
46+
| `$roxy->vastu` | Vastu Shastra API for directional home and plot analysis: entrance padas with the classical effect of each of the 32... |
4547
| `$roxy->numerology` | Numerology API to calculate life path, expression, soul urge, personality, and maturity numbers, with Pinnacle and Ch... |
48+
| `$roxy->kabbalah` | Kabbalah API for gematria, the 72 names, the Tree of Life and the Hebrew birthday, from one key |
4649
| `$roxy->tarot` | Tarot reading API with the complete 78-card Rider-Waite-Smith deck and card meanings for love, career, health, and sp... |
4750
| `$roxy->biorhythm` | The most complete biorhythm API: 10 cycle types across 3 primary (physical, emotional, intellectual), 4 secondary (in... |
51+
| `$roxy->ayurveda` | Ayurveda API for dosha profiles, the dinacharya daily routine and the ritucharya seasonal regimen, with a verse cited... |
4852
| `$roxy->iching` | I-Ching oracle API with all 64 hexagrams, 384 changing lines, 8 trigrams, and modern interpretations for love, career... |
4953
| `$roxy->crystals` | Crystal healing API covering the most popular and widely-searched healing crystals and gemstones, from Amethyst and R... |
5054
| `$roxy->dreams` | Dream interpretation API with a 2,000+ symbol dream dictionary and psychological meanings covering animals, objects,... |

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,13 @@ Get an API key at [roxyapi.com/pricing](https://roxyapi.com/pricing). All endpoi
6161
| `$roxy->humanDesign` | Generate the full Human Design bodygraph from a birth moment: type, strategy, inner authority, profile, definition, i... |
6262
| `$roxy->chineseAstrology` | Calculate BaZi Four Pillars charts, Chinese zodiac signs, and the Chinese lunisolar calendar from any birth moment: y... |
6363
| `$roxy->fengShui` | Compute classical feng shui from one API: Xuan Kong flying star natal charts for any of the nine periods and 24 mount... |
64+
| `$roxy->mesoamericanAstrology` | Calculate Mayan astrology day signs, the Tzolkin sacred round, the Haab year, the full Long Count and the Aztec tonal... |
65+
| `$roxy->vastu` | Vastu Shastra API for directional home and plot analysis: entrance padas with the classical effect of each of the 32... |
6466
| `$roxy->numerology` | Numerology API to calculate life path, expression, soul urge, personality, and maturity numbers, with Pinnacle and Ch... |
67+
| `$roxy->kabbalah` | Kabbalah API for gematria, the 72 names, the Tree of Life and the Hebrew birthday, from one key |
6568
| `$roxy->tarot` | Tarot reading API with the complete 78-card Rider-Waite-Smith deck and card meanings for love, career, health, and sp... |
6669
| `$roxy->biorhythm` | The most complete biorhythm API: 10 cycle types across 3 primary (physical, emotional, intellectual), 4 secondary (in... |
70+
| `$roxy->ayurveda` | Ayurveda API for dosha profiles, the dinacharya daily routine and the ritucharya seasonal regimen, with a verse cited... |
6771
| `$roxy->iching` | I-Ching oracle API with all 64 hexagrams, 384 changing lines, 8 trigrams, and modern interpretations for love, career... |
6872
| `$roxy->crystals` | Crystal healing API covering the most popular and widely-searched healing crystals and gemstones, from Amethyst and R... |
6973
| `$roxy->dreams` | Dream interpretation API with a 2,000+ symbol dream dictionary and psychological meanings covering animals, objects,... |

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,5 @@
8484
"/tests"
8585
]
8686
},
87-
"version": "0.1.50"
87+
"version": "0.1.51"
8888
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "roxyapi-sdk-php-tooling",
33
"private": true,
4-
"version": "0.1.50",
4+
"version": "0.1.51",
55
"description": "Codegen tooling for the roxyapi/sdk Composer package. Not published.",
66
"type": "module",
77
"scripts": {

specs/openapi.json

Lines changed: 31494 additions & 5760 deletions
Large diffs are not rendered by default.

src/Generated/Requests/AnalyzeNumberSequenceRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
use Saloon\Http\Request;
1414

1515
/**
16-
* Analyze Any Number Sequence
16+
* Analyze any number sequence - Angel number analysis API
1717
*
1818
* Smart angel number analysis that works for ANY number sequence, not just known angel
1919
* numbers. Automatically classifies the pattern type (repeating, sequential, mirror, master,
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/**
6+
* AUTO-GENERATED by scripts/generate.mjs from the live OpenAPI spec.
7+
* Do not edit this file by hand. Regenerate with: node scripts/generate.mjs
8+
*/
9+
10+
namespace RoxyAPI\Sdk\Generated\Requests;
11+
12+
use Saloon\Enums\Method;
13+
use Saloon\Http\Request;
14+
use Saloon\Contracts\Body\HasBody;
15+
use Saloon\Traits\Body\HasJsonBody;
16+
17+
/**
18+
* Calculate Ayadi shadvarga - Vastu proportion and yoni calculator API
19+
*
20+
* Ayadi shadvarga calculator for a building or a room: send the dimensions and the API returns
21+
* all six proportional formulas with the multiplier, the divisor and the remainder shown, the
22+
* member each remainder names, and the two verdict rules the texts state. Choose between three
23+
* text families, which genuinely disagree, and choose your own cubit length, because every
24+
* remainder is unit sensitive. Built for practitioner tools, plan checking software and anyone
25+
* who has to justify a dimension rather than assert it.
26+
*
27+
* POST /vastu/ayadi
28+
*/
29+
class CalculateAyadiRequest extends Request implements HasBody
30+
{
31+
use HasJsonBody;
32+
33+
protected Method $method = Method::POST;
34+
35+
public function __construct(
36+
public readonly float $breadth,
37+
public readonly float $length,
38+
public readonly ?string $ayadiText = null,
39+
public readonly ?float $circumference = null,
40+
public readonly ?float $hastaInches = null,
41+
public readonly ?float $perimeter = null,
42+
public readonly ?string $unit = null,
43+
public readonly ?string $vyayaFormula = null,
44+
public readonly ?string $lang = null,
45+
) {
46+
}
47+
48+
public function resolveEndpoint(): string
49+
{
50+
return "/vastu/ayadi";
51+
}
52+
53+
/**
54+
* @return array<string, mixed>
55+
*/
56+
protected function defaultBody(): array
57+
{
58+
$body = [];
59+
if ($this->ayadiText !== null) {
60+
$body['ayadiText'] = $this->ayadiText;
61+
}
62+
$body['breadth'] = $this->breadth;
63+
if ($this->circumference !== null) {
64+
$body['circumference'] = $this->circumference;
65+
}
66+
if ($this->hastaInches !== null) {
67+
$body['hastaInches'] = $this->hastaInches;
68+
}
69+
$body['length'] = $this->length;
70+
if ($this->perimeter !== null) {
71+
$body['perimeter'] = $this->perimeter;
72+
}
73+
if ($this->unit !== null) {
74+
$body['unit'] = $this->unit;
75+
}
76+
if ($this->vyayaFormula !== null) {
77+
$body['vyayaFormula'] = $this->vyayaFormula;
78+
}
79+
80+
return $body;
81+
}
82+
83+
/**
84+
* @return array<string, mixed>
85+
*/
86+
protected function defaultQuery(): array
87+
{
88+
$query = [];
89+
if ($this->lang !== null) {
90+
$query['lang'] = $this->lang;
91+
}
92+
93+
return $query;
94+
}
95+
}
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/**
6+
* AUTO-GENERATED by scripts/generate.mjs from the live OpenAPI spec.
7+
* Do not edit this file by hand. Regenerate with: node scripts/generate.mjs
8+
*/
9+
10+
namespace RoxyAPI\Sdk\Generated\Requests;
11+
12+
use Saloon\Enums\Method;
13+
use Saloon\Http\Request;
14+
use Saloon\Contracts\Body\HasBody;
15+
use Saloon\Traits\Body\HasJsonBody;
16+
17+
/**
18+
* Ayurvedic constitution from a birth chart - Dosha profile API
19+
*
20+
* Read the Ayurvedic constitution from a sidereal birth chart and return the vata, pitta and
21+
* kapha shares with a verse behind every factor. Three factors are scored, each one carrying a
22+
* classical rule that it shows the native humour: the rising sign, the sign the Moon occupies,
23+
* and the strongest graha by shadbala. The composite that blends them is a RoxyAPI convention
24+
* rather than a classical one, so its version and its weights ship inside the response, and
25+
* every response states that this is general wellness and cultural interest only.
26+
*
27+
* POST /ayurveda/constitution
28+
*/
29+
class CalculateAyurvedicConstitutionRequest extends Request implements HasBody
30+
{
31+
use HasJsonBody;
32+
33+
protected Method $method = Method::POST;
34+
35+
public function __construct(
36+
public readonly string $date,
37+
public readonly float $latitude,
38+
public readonly float $longitude,
39+
public readonly string $time,
40+
public readonly ?string $ayanamsa = null,
41+
public readonly ?float $ayanamsaValue = null,
42+
public readonly ?string $signDoshaScheme = null,
43+
public readonly mixed $timezone = null,
44+
public readonly ?string $lang = null,
45+
) {
46+
}
47+
48+
public function resolveEndpoint(): string
49+
{
50+
return "/ayurveda/constitution";
51+
}
52+
53+
/**
54+
* @return array<string, mixed>
55+
*/
56+
protected function defaultBody(): array
57+
{
58+
$body = [];
59+
if ($this->ayanamsa !== null) {
60+
$body['ayanamsa'] = $this->ayanamsa;
61+
}
62+
if ($this->ayanamsaValue !== null) {
63+
$body['ayanamsaValue'] = $this->ayanamsaValue;
64+
}
65+
$body['date'] = $this->date;
66+
$body['latitude'] = $this->latitude;
67+
$body['longitude'] = $this->longitude;
68+
if ($this->signDoshaScheme !== null) {
69+
$body['signDoshaScheme'] = $this->signDoshaScheme;
70+
}
71+
$body['time'] = $this->time;
72+
if ($this->timezone !== null) {
73+
$body['timezone'] = $this->timezone;
74+
}
75+
76+
return $body;
77+
}
78+
79+
/**
80+
* @return array<string, mixed>
81+
*/
82+
protected function defaultQuery(): array
83+
{
84+
$query = [];
85+
if ($this->lang !== null) {
86+
$query['lang'] = $this->lang;
87+
}
88+
89+
return $query;
90+
}
91+
}

src/Generated/Requests/CalculateBaziCompatibilityRequest.php

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@
1717
/**
1818
* Calculate BaZi compatibility - Four Pillars matchmaking API
1919
*
20-
* Compare two BaZi charts pillar by pillar. Returns both resolved charts, how the two Day
21-
* Masters stand to each other on the five-phase cycle, and every combination, clash, harm and
22-
* punishment that crosses between them, each naming the two positions it joins. A tallied
23-
* score summarises the balance and the interaction list behind it is returned in full, so a
24-
* caller that disagrees with the weighting can recompute its own. Built for matchmaking
25-
* products, relationship features, and agents that need a defensible two-chart reading.
20+
* Compare two BaZi charts pillar by pillar, the Chinese astrology reading of how two people
21+
* match. Returns both resolved charts, how the two Day Masters stand to each other on the
22+
* five-phase cycle, and every combination, clash, harm and punishment that crosses between
23+
* them, each naming the two positions it joins. A tallied score summarises the balance and the
24+
* interaction list behind it is returned in full, so a caller that disagrees with the
25+
* weighting can recompute its own. Built for matchmaking products, relationship features, and
26+
* agents that need a defensible two-chart reading.
2627
*
2728
* POST /chinese-astrology/bazi/compatibility
2829
*/

src/Generated/Requests/CalculateCompatibilityRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Saloon\Traits\Body\HasJsonBody;
1616

1717
/**
18-
* Compatibility Score. Relationship compatibility analysis with category breakdown
18+
* Compatibility score - Relationship compatibility API
1919
*
2020
* Calculate a detailed compatibility score between two birth charts using Western synastry
2121
* (inter-chart aspects). Returns overall score (0-100) plus category breakdowns for romantic,

0 commit comments

Comments
 (0)