Human Design
AstroWay API memiliki 12 endpoint Human Design - cakupan HD paling mendalam di antara API komersial. Endpoint utama POST /v1/human-design mengembalikan peta lengkap. Biaya: 50 kredit (Tier 3).
12 Endpoint HD
Section titled “12 Endpoint HD”| Endpoint | Kredit | Mengembalikan |
|---|---|---|
/v1/human-design | 50 | Peta HD lengkap: tipe, strategi, otoritas, saluran, pusat, profil |
/v1/human-design/transits | 50 | Transit HD pada tanggal tertentu |
/v1/human-design/compatibility | 100 | Kecocokan dua peta HD |
/v1/hd/incarnation-cross | 50 | Incarnation Cross |
/v1/hd/dream-rave | 50 | Peta Dream Rave |
/v1/hd/hologenetic | 50 | Hologenetic Profile |
/v1/hd/sensitivity | 50 | Sensitivitas waktu (seberapa perubahan waktu lahir memengaruhi peta) |
/v1/hd/circuitry | 20 | Analisis kontur |
/v1/hd/penta | 100 | Penta (dinamika kelompok 3-5 orang) |
/v1/hd/group-overlay | 100 | Group overlay |
/v1/hd/design-date | 10 | Tanggal Design (88° Matahari sebelum lahir) |
/v1/hd/rave-new-years | 10 | Tanggal Rave New Year |
Contoh permintaan
Section titled “Contoh permintaan”Parameter sama seperti untuk /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"Contoh respons
Section titled “Contoh respons”{ "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}Bidang kunci respons
Section titled “Bidang kunci respons”| Bidang | Tipe | Deskripsi |
|---|---|---|
type | string | Manifestor, Generator, Generator Xing (MG), Projector, Reflector |
strategy | string | Strategi pengambilan keputusan |
authority | string | Otoritas internal |
profile | object | Profil: profile.profile adalah pasangan (misalnya "1/3"), juga personalityLine, designLine, dan geometry |
definition | string | Single, Split, Triple Split, Quadruple Split atau None |
cross | object | Incarnation Cross (nama, kuarter, 4 gerbang) |
centers | array | 9 pusat dengan flag defined/open |
channels | array | Saluran yang didefinisikan |
personalityActivations | array | 13 aktivasi Personality (sadar) |
designActivations | array | 13 aktivasi Design (tidak sadar) |
Teks untuk peta
Section titled “Teks untuk peta”GET /v1/public/human-design/texts?lang=id bekerja tanpa kunci dan mengembalikan teks referensi kami untuk semua yang disebutkan dalam peta: lima tipe (deskripsi, strategi, tanda, tema bukan-diri), delapan otoritas, lima jenis definisi, dua belas profil, enam garis, sembilan pusat dengan teks terpisah untuk yang didefinisikan dan terbuka, 36 saluran dan 64 gerbang, dalam 21 bahasa. Muat sekali per bahasa dan ambil teks berdasarkan ID dari respons peta:
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[gerbang][garis] berisi 384 garis gerbang. Incarnation Cross belum tersedia di sini.
Selanjutnya
Section titled “Selanjutnya”- Natal chart: permintaan dasar
- Synastry: kecocokan dua peta
- Transits: transit overlay
- API reference: semua 771 endpoint