Human Design
AstroWay API are 12 endpoint-uri Human Design - cea mai acoperire HD profundă dintre API-urile comerciale. Endpoint-ul principal POST /v1/human-design returnează o hartă completă. Cost: 50 de credite (Tier 3).
12 endpoint-uri HD
Section titled “12 endpoint-uri HD”| Endpoint | Credite | Ce returnează |
|---|---|---|
/v1/human-design | 50 | Hartă HD completă: tip, strategie, autoritate, canale, centre, profil |
/v1/human-design/transits | 50 | HD transite pentru o dată specificată |
/v1/human-design/compatibility | 100 | Compatibilitatea dintre două hărți HD |
/v1/hd/incarnation-cross | 50 | Cruza de incarnație |
/v1/hd/dream-rave | 50 | Harta Dream Rave |
/v1/hd/hologenetic | 50 | Hologenetic Profile |
/v1/hd/sensitivity | 50 | Sensibilitate temporală (cât de mult influențează schimbarea orei nașterii harta) |
/v1/hd/circuitry | 20 | Analiza contururilor |
/v1/hd/penta | 100 | Penta (dinamică de grup pentru 3-5 persoane) |
/v1/hd/group-overlay | 100 | Overlay de grup |
/v1/hd/design-date | 10 | Data Design (88° Soare înainte de naștere) |
/v1/hd/rave-new-years | 10 | Datele Rave New Year |
Exemplu de request
Section titled “Exemplu de request”Parametrii sunt aceiași ca pentru /v1/chart:
curl -X POST https://api.astroway.info/v1/human-design \ -H "X-Api-Key: aw_live_your_key_here" \ -H "Content-Type: application/json" \ -d '{ "date": "1990-07-14", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.4501, "longitude": 30.5234 }'const res = await fetch('https://api.astroway.info/v1/human-design', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Api-Key': process.env.ASTROWAY_API_KEY!, }, body: JSON.stringify({ date: '1990-07-14', time: '14:30:00', timezoneOffset: 3, latitude: 50.4501, longitude: 30.5234, }),});const { data: hd } = await res.json();console.log(hd.type); // e.g. "Generator"console.log(hd.strategy); // e.g. "To Respond"console.log(hd.authority); // e.g. "Sacral"console.log(hd.profile); // e.g. "1/3"import os, requests
r = requests.post( 'https://api.astroway.info/v1/human-design', headers={'X-Api-Key': os.environ['ASTROWAY_API_KEY'], 'Content-Type': 'application/json'}, json={ 'date': '1990-07-14', 'time': '14:30:00', 'timezoneOffset': 3, 'latitude': 50.4501, 'longitude': 30.5234, },)hd = r.json()['data']print(hd['type']) # e.g. "Generator"print(hd['strategy']) # e.g. "To Respond"print(hd['authority']) # e.g. "Sacral"print(hd['channels']) # List of defined channels<?phpuse GuzzleHttp\Client;
$client = new Client(['base_uri' => 'https://api.astroway.info/v1/']);$r = $client->post('human-design', [ 'headers' => ['X-Api-Key' => getenv('ASTROWAY_API_KEY')], 'json' => [ 'date' => '1990-07-14', 'time' => '14:30:00', 'timezoneOffset' => 3, 'latitude' => 50.4501, 'longitude' => 30.5234, ],]);
$hd = json_decode($r->getBody(), true)['data'];echo $hd['type']; // e.g. "Generator"echo $hd['strategy']; // e.g. "To Respond"echo $hd['authority']; // e.g. "Sacral"echo $hd['profile']; // e.g. "1/3"Exemplu de răspuns
Section titled “Exemplu de răspuns”{ "input": { "name": "", "date": "1990-07-14", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.4501, "longitude": 30.5234, "houseSystem": "P", "city": "", "cosmogram": false }, "type": "Generator", "strategy": "Wait for the Sacral Response", "notSelfTheme": "Frustration", "authority": "Emotional (Solar Plexus)", "profile": { "profile": "2/4", "personalityLine": 2, "designLine": 4, "geometry": "Right Angle" }, "definition": "Split", "cross": { "name": "Right Angle Cross of The Maya", "type": "RAC", "gates": [ 62, 61, 42, 32 ] }, "centers": [ { "name": "Head", "defined": true, "open": false, "gates": [ 61, 63, 64 ], "activeGates": [ 61 ] }, { "name": "Ajna", "defined": true, "open": false, "gates": [ 4, 11, 17, 24, 43, 47 ], "activeGates": [ 17, 24 ] } ], "channels": [ { "gate1": 7, "gate2": 31, "centerA": "G", "centerB": "Throat", "activatedBy": [ "personality", "design" ] } ], "personalityActivations": [ { "planet": "Sun", "planetId": 0, "gate": 62, "line": 2, "color": 1, "tone": 4, "base": 2, "longitude": 111.77244, "isPersonality": true } ], "designActivations": [ { "planet": "Sun", "planetId": 0, "gate": 42, "line": 4, "color": 2, "tone": 3, "base": 1, "longitude": 23.772448, "isPersonality": false } ], "designJd": 2447995.484294, "personalityJd": 2448086.979167}Câmpuri cheie din răspuns
Section titled “Câmpuri cheie din răspuns”| Câmp | Tip | Descriere |
|---|---|---|
type | string | Manifestor, Generator, Generator Xing (MG), Projector, Reflector |
strategy | string | Strategia de luare a deciziilor |
authority | string | Autoritatea internă |
profile | object | Profil: profile.profile este o pereche (de ex. "1/3"), precum și personalityLine, designLine și geometry |
definition | string | Single, Split, Triple Split, Quadruple Split sau None |
cross | object | Cruza de incarnație (nume, trimestru, 4 porți) |
centers | array | 9 centre cu indicator defined/open |
channels | array | Canale definite |
personalityActivations | array | 13 activări Personality (conștient) |
designActivations | array | 13 activări Design (inconștient) |
Texte pentru hartă
Section titled “Texte pentru hartă”GET /v1/public/human-design/texts?lang=uk funcționează fără cheie și returnează textele noastre de referință pentru tot ce numește harta: cinci tipuri (descriere, strategie, semnătură, temă non-sine), opt autorități, cinci tipuri de definiție, doisprezece profile, șase linii, nouă centre cu text separat pentru definit și deschis, 36 de canale și 64 de porți, în 21 de limbi. Descarcă o dată pe limbă și ia textele după ID-uri din răspunsul hărții:
const chart = (await post('/v1/human-design', birth)).data;const t = (await (await fetch('https://api.astroway.info/v1/public/human-design/texts?lang=uk')).json()).data;
t.types[chart.type].summary; // "Проектор тут, щоб ясно бачити інших..."t.authorities[chart.authority].text;t.profiles[chart.profile.profile];t.centers.Sacral[chart.centers.find((c) => c.name === 'Sacral').defined ? 'defined' : 'open'];t.channels[`${Math.min(ch.gate1, ch.gate2)}-${Math.max(ch.gate1, ch.gate2)}`].text;gateLines[porți][linie] conține 384 de linii de porți. Încă nu sunt aici crucile de incarnație.
Următorul pas
Section titled “Următorul pas”- Hartă natală: request de bază
- Sinastrie: compatibilitatea dintre două hărți
- Transite: overlay de transite
- API reference: toți 771 endpoint-uri