Human Design
AstroWay API có 12 endpoint Human Design - phạm vi bao phủ HD sâu nhất trong số các API thương mại. Endpoint chính POST /v1/human-design trả về bản đồ đầy đủ. Chi phí: 50 tín dụng (Tier 3).
12 endpoint HD
Phần tiêu đề “12 endpoint HD”| Endpoint | Tín dụng | Trả về |
|---|---|---|
/v1/human-design | 50 | Bản đồ HD đầy đủ: loại, chiến lược, thẩm quyền, kênh, trung tâm, hồ sơ |
/v1/human-design/transits | 50 | HD transit tại một ngày cụ thể |
/v1/human-design/compatibility | 100 | Sự tương thích giữa hai bản đồ HD |
/v1/hd/incarnation-cross | 50 | Thập incarnational |
/v1/hd/dream-rave | 50 | Bản đồ Dream Rave |
/v1/hd/hologenetic | 50 | Hologenetic Profile |
/v1/hd/sensitivity | 50 | Độ nhạy thời gian (mức độ thay đổi thời gian sinh ảnh hưởng đến bản đồ) |
/v1/hd/circuitry | 20 | Phân tích mạch điện |
/v1/hd/penta | 100 | Penta (động lực nhóm 3-5 người) |
/v1/hd/group-overlay | 100 | Overlay nhóm |
/v1/hd/design-date | 10 | Ngày Design (Mặt Trời ở 88° trước sinh) |
/v1/hd/rave-new-years | 10 | Ngày Rave New Year |
Ví dụ yêu cầu
Phần tiêu đề “Ví dụ yêu cầu”Tham số giống như với /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"Ví dụ phản hồi
Phần tiêu đề “Ví dụ phản hồi”{ "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ác trường phản hồi chính
Phần tiêu đề “Các trường phản hồi chính”| Trường | Loại | Mô tả |
|---|---|---|
type | string | Manifestor, Generator, Generator Xing (MG), Projector, Reflector |
strategy | string | Chiến lược ra quyết định |
authority | string | Thẩm quyền nội tại |
profile | object | Hồ sơ: profile.profile là một cặp (ví dụ "1/3"), cùng với personalityLine, designLine và geometry |
definition | string | Single, Split, Triple Split, Quadruple Split hoặc None |
cross | object | Thập incarnational (tên, phần tư, 4 cổng) |
centers | array | 9 trung tâm với cờ defined/open |
channels | array | Các kênh được xác định |
personalityActivations | array | 13 kích hoạt Personality (ý thức) |
designActivations | array | 13 kích hoạt Design (vô thức) |
Văn bản cho bản đồ
Phần tiêu đề “Văn bản cho bản đồ”GET /v1/public/human-design/texts?lang=uk hoạt động mà không cần khóa và trả về văn bản tham khảo của chúng tôi cho mọi thứ mà bản đồ đề cập: năm loại (mô tả, chiến lược, chữ ký, chủ đề không phải bản thân), tám thẩm quyền, năm loại định nghĩa, mười hai hồ sơ, sáu đường, chín trung tâm với văn bản riêng cho defined và open, 36 kênh và 64 cổng, bằng 21 ngôn ngữ. Tải xuống một lần cho mỗi ngôn ngữ và lấy văn bản bằng các định danh từ phản hồi bản đồ:
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[cổng][đường] chứa 384 đường cổng. Thập incarnational chưa có ở đây.
Tiếp theo
Phần tiêu đề “Tiếp theo”- Bản đồ sinh: yêu cầu cơ bản
- Synastry: sự tương thích giữa hai bản đồ
- Transit: overlay transit
- API reference: tất cả 771 endpoint