Update app.py
Browse files
app.py
CHANGED
@@ -97,8 +97,8 @@ def calculate_siju(birth_hour, lunIljin):
|
|
97 |
return siju
|
98 |
|
99 |
def get_lunar_info(solYear, solMonth, solDay, solHour):
|
100 |
-
base_url =
|
101 |
-
service_key =
|
102 |
url = f"{base_url}?solYear={solYear}&solMonth={solMonth}&solDay={solDay}&ServiceKey={service_key}"
|
103 |
|
104 |
|
|
|
97 |
return siju
|
98 |
|
99 |
def get_lunar_info(solYear, solMonth, solDay, solHour):
|
100 |
+
base_url = "http://apis.data.go.kr/B090041/openapi/service/LrsrCldInfoService/getLunCalInfo"
|
101 |
+
service_key = "EuBjt%2B2t0KzYt5Ri%2Bzs56oymt9kHJ8uPIOV7m6UMKnOV8cpwj02EiRqMEudX%2F%2FVTKdMnwaLH0igRwY57YUplEQ%3D%3D"
|
102 |
url = f"{base_url}?solYear={solYear}&solMonth={solMonth}&solDay={solDay}&ServiceKey={service_key}"
|
103 |
|
104 |
|