We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ski_resorts
getMidTa
getMidLandFcst
API 응답에서 필요한 데이터를 추출
하늘상태와 강수확률은 오전과 오후 중 더 나쁜 상태(높은 강수확률, 더 나쁜 하늘상태)를 선택
하늘상태의 우선순위
맑음 < 구름많음 < 흐림 < 구름많고 소나기 < 구름많고 비 < 구름많고 비/눈 < 흐리고 비 < 흐리고 소나기 < 소나기 < 비 < 비/눈 < 흐리고 눈 < 흐리고 비/눈 < 눈
날짜별로 d_day 값을 계산
d_day
daily_weather
https://www.data.go.kr/tcs/dss/selectApiDataDetailView.do?publicDataPk=15059468
https://apis.data.go.kr/1360000/MidFcstInfoService/getMidTa?serviceKey=p6zNXOJrrBY4cuX7OYtdDMtmR8hiGeUaBLf0z6BXnm%2FqniV8wB0SuPwBgqKDTKV%2F24EW7xiRY3DCS21Ess%2F42Q%3D%3D&pageNo=1&numOfRows=10&dataType=JSON®Id=11B10101&tmFc=202411090600
{ "response": { "header": { "resultCode": "00", "resultMsg": "NORMAL_SERVICE" }, "body": { "dataType": "JSON", "items": { "item": [ { "regId": "11B10101", "taMin3": 11, "taMin3Low": 1, "taMin3High": 1, "taMax3": 18, "taMax3Low": 1, "taMax3High": 1, "taMin4": 9, "taMin4Low": 2, "taMin4High": 1, "taMax4": 19, "taMax4Low": 1, "taMax4High": 1, "taMin5": 11, "taMin5Low": 1, "taMin5High": 1, "taMax5": 17, "taMax5Low": 2, "taMax5High": 1, "taMin6": 12, "taMin6Low": 1, "taMin6High": 1, "taMax6": 19, "taMax6Low": 1, "taMax6High": 1, "taMin7": 11, "taMin7Low": 2, "taMin7High": 1, "taMax7": 18, "taMax7Low": 1, "taMax7High": 1, "taMin8": 11, "taMin8Low": 0, "taMin8High": 2, "taMax8": 16, "taMax8Low": 0, "taMax8High": 1, "taMin9": 8, "taMin9Low": 0, "taMin9High": 2, "taMax9": 13, "taMax9Low": 0, "taMax9High": 2, "taMin10": 6, "taMin10Low": 0, "taMin10High": 2, "taMax10": 12, "taMax10Low": 0, "taMax10High": 3 } ] }, "pageNo": 1, "numOfRows": 10, "totalCount": 1 } } }
https://apis.data.go.kr/1360000/MidFcstInfoService/getMidLandFcst?serviceKey=p6zNXOJrrBY4cuX7OYtdDMtmR8hiGeUaBLf0z6BXnm%2FqniV8wB0SuPwBgqKDTKV%2F24EW7xiRY3DCS21Ess%2F42Q%3D%3D&pageNo=1&numOfRows=10&dataType=JSON®Id=11D10000&tmFc=202411091800
{ "response": { "header": { "resultCode": "00", "resultMsg": "NORMAL_SERVICE" }, "body": { "dataType": "JSON", "items": { "item": [ { "regId": "11D10000", "rnSt3Am": 20, "rnSt3Pm": 10, "rnSt4Am": 30, "rnSt4Pm": 30, "rnSt5Am": 30, "rnSt5Pm": 70, "rnSt6Am": 40, "rnSt6Pm": 40, "rnSt7Am": 40, "rnSt7Pm": 40, "rnSt8": 30, "rnSt9": 30, "rnSt10": 30, "wf3Am": "구름많음", "wf3Pm": "맑음", "wf4Am": "구름많음", "wf4Pm": "흐림", "wf5Am": "구름많음", "wf5Pm": "흐리고 비", "wf6Am": "흐림", "wf6Pm": "흐림", "wf7Am": "흐림", "wf7Pm": "흐림", "wf8": "구름많음", "wf9": "구름많음", "wf10": "구름많음" } ] }, "pageNo": 1, "numOfRows": 10, "totalCount": 1 } } }
The text was updated successfully, but these errors were encountered:
Merge pull request #17 from Nexters/16-weekly-weather-updates
205e985
[#16] 주간 날씨 업데이트 batch
jun108059
No branches or pull requests
주간 날씨 업데이트 batch 로직
ski_resorts
테이블에서 모든 스키 리조트를 조회getMidTa
)를 호출하여 최고 기온과 최저 기온 데이터를 조회getMidLandFcst
)를 호출하여 강수확률과 하늘상태 데이터 조회API 응답에서 필요한 데이터를 추출
하늘상태와 강수확률은 오전과 오후 중 더 나쁜 상태(높은 강수확률, 더 나쁜 하늘상태)를 선택
하늘상태의 우선순위
날짜별로
d_day
값을 계산daily_weather
테이블 업데이트중기 기온 예보
https://www.data.go.kr/tcs/dss/selectApiDataDetailView.do?publicDataPk=15059468
요청변수(Request Parameter)
예제 호출 - 응답
https://apis.data.go.kr/1360000/MidFcstInfoService/getMidTa?serviceKey=p6zNXOJrrBY4cuX7OYtdDMtmR8hiGeUaBLf0z6BXnm%2FqniV8wB0SuPwBgqKDTKV%2F24EW7xiRY3DCS21Ess%2F42Q%3D%3D&pageNo=1&numOfRows=10&dataType=JSON®Id=11B10101&tmFc=202411090600
중기 육상 예보
https://www.data.go.kr/tcs/dss/selectApiDataDetailView.do?publicDataPk=15059468
요청변수(Request Parameter)
https://apis.data.go.kr/1360000/MidFcstInfoService/getMidLandFcst?serviceKey=p6zNXOJrrBY4cuX7OYtdDMtmR8hiGeUaBLf0z6BXnm%2FqniV8wB0SuPwBgqKDTKV%2F24EW7xiRY3DCS21Ess%2F42Q%3D%3D&pageNo=1&numOfRows=10&dataType=JSON®Id=11D10000&tmFc=202411091800
The text was updated successfully, but these errors were encountered: