FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
human-design-api/example.py at main · RoxyAPI/human-design-api · GitHub
RoxyAPI
/
human-design-api
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
1
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
human-design-api
/
example.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
52 lines (41 loc) · 1.9 KB
Breadcrumbs
human-design-api
/
example.py
Copy path
File metadata and controls
52 lines (41 loc) · 1.9 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
"""
Human Design API: full bodygraph chart in one call. Energy type, strategy,
inner authority, profile, definition, incarnation cross, nine centers, defined
channels, and all 26 gate activations. Roxy Ephemeris, verified against NASA
JPL Horizons. No coordinates needed, only the birth instant.
"""
import
os
from
roxy_sdk
import
create_roxy
roxy
=
create_roxy
(
os
.
environ
[
"ROXY_API_KEY"
])
def
main
():
result
=
roxy
.
human_design
.
generate_bodygraph
(
date
=
"1990-07-15"
,
time
=
"13:00:00"
,
timezone
=
"America/New_York"
,
)
print
(
f"Type:
{
result
[
'type'
]
}
| Strategy:
{
result
[
'strategy'
]
}
"
)
print
(
f"Authority:
{
result
[
'authority'
]
}
"
)
print
(
f"Signature:
{
result
[
'signature'
]
}
| Not-self:
{
result
[
'notSelf'
]
}
"
)
print
(
f"Profile:
{
result
[
'profile'
]
}
| Definition:
{
result
[
'definition'
]
}
"
)
cross
=
result
[
"incarnationCross"
]
print
(
f"Incarnation cross:
{
cross
[
'name'
]
}
[
{
'/'
.
join
(
map
(
str
,
cross
[
'gates'
]))
}
]"
)
print
(
"
\n
Centers:"
)
for
c
in
result
[
"centers"
]:
state
=
"DEFINED"
if
c
[
"defined"
]
else
"open"
gates
=
", "
.
join
(
map
(
str
,
c
[
"gates"
]))
print
(
f"
{
c
[
'name'
]:<14
}
{
state
:<8
}
gates [
{
gates
}
]"
)
print
(
"
\n
Defined channels:"
)
for
ch
in
result
[
"channels"
]:
print
(
f"
{
ch
[
'gateA'
]
}
-
{
ch
[
'gateB'
]
}
{
ch
[
'name'
]
}
(
{
ch
[
'circuit'
]
}
)"
)
print
(
"
\n
Personality activations (conscious):"
)
for
g
in
(
g
for
g
in
result
[
"gates"
]
if
g
[
"side"
]
==
"personality"
):
hexagram
=
g
[
"ichingHexagram"
]
print
(
f"
{
g
[
'planet'
]:<11
}
gate
{
g
[
'gate'
]:>2
}
.
{
g
[
'line'
]
}
{
g
[
'gateName'
]
}
"
f" / hexagram
{
hexagram
[
'number'
]
}
{
hexagram
[
'english'
]
}
"
)
print
(
"
\n
Design activations (unconscious, 88 degrees of solar arc before birth):"
)
for
g
in
(
g
for
g
in
result
[
"gates"
]
if
g
[
"side"
]
==
"design"
):
print
(
f"
{
g
[
'planet'
]:<11
}
gate
{
g
[
'gate'
]:>2
}
.
{
g
[
'line'
]
}
{
g
[
'gateName'
]
}
"
)
if
__name__
==
"__main__"
:
main
()
Back
|
FazBrowse Home
|
New Git URL