https://api.lotto-haru.kr/win/payout.json
지원하는 HTTP Method : GET
파라메타 정보
- chasu
- [숫자][다중] 차수를 설정
- chasuStart
- [숫자] 시작 차수를 설정 (※ chasuEnd 와 함께 사용시, chasuEnd 보다 같거나 작아야함)
- chasuEnd
- [숫자] 종료 차수를 설정 (※ chasuStart 와 함께 사용시, chasuStart 보다 같거나 커야함)
선택 1. https://api.lotto-haru.kr/win/payout.json
선택 2. https://api.lotto-haru.kr/win/payout/{chasu}.json
선택 3. https://api.lotto-haru.kr/win/payout/0/{chasuStart}.json
선택 4. https://api.lotto-haru.kr/win/payout/0/{chasuStart}/{chasuEnd}.json
[
{
"chasu": 1186,
"chasuStr": "1,186",
"win1Payout": 1985676911,
"win1PayoutStr": "1,985,676,911",
"win1PayoutHangul": "일십구억팔천오백육십칠만육천구백일십일",
"win2Payout": 52058946,
"win2PayoutStr": "52,058,946",
"win2PayoutHangul": "오천이백오만팔천구백사십육",
"win3Payout": 1436221,
"win3PayoutStr": "1,436,221",
"win3PayoutHangul": "일백사십삼만육천이백이십일",
"win4Payout": 50000,
"win4PayoutStr": "50,000",
"win4PayoutHangul": "오만",
"win5Payout": 5000,
"win5PayoutStr": "5,000",
"win5PayoutHangul": "오천"
}
]
parseResponse({
"data": [
{
"chasu": 1186,
"chasuStr": "1,186",
"win1Payout": 1985676911,
"win1PayoutStr": "1,985,676,911",
"win1PayoutHangul": "일십구억팔천오백육십칠만육천구백일십일",
"win2Payout": 52058946,
"win2PayoutStr": "52,058,946",
"win2PayoutHangul": "오천이백오만팔천구백사십육",
"win3Payout": 1436221,
"win3PayoutStr": "1,436,221",
"win3PayoutHangul": "일백사십삼만육천이백이십일",
"win4Payout": 50000,
"win4PayoutStr": "50,000",
"win4PayoutHangul": "오만",
"win5Payout": 5000,
"win5PayoutStr": "5,000",
"win5PayoutHangul": "오천"
}
]
});
<?xml version="1.0"?>
<response>
<item>
<chasu>1186</chasu>
<chasuStr>1,186</chasuStr>
<win1Payout>1985676911</win1Payout>
<win1PayoutStr>1,985,676,911</win1PayoutStr>
<win1PayoutHangul>일십구억팔천오백육십칠만육천구백일십일</win1PayoutHangul>
<win2Payout>52058946</win2Payout>
<win2PayoutStr>52,058,946</win2PayoutStr>
<win2PayoutHangul>오천이백오만팔천구백사십육</win2PayoutHangul>
<win3Payout>1436221</win3Payout>
<win3PayoutStr>1,436,221</win3PayoutStr>
<win3PayoutHangul>일백사십삼만육천이백이십일</win3PayoutHangul>
<win4Payout>50000</win4Payout>
<win4PayoutStr>50,000</win4PayoutStr>
<win4PayoutHangul>오만</win4PayoutHangul>
<win5Payout>5000</win5Payout>
<win5PayoutStr>5,000</win5PayoutStr>
<win5PayoutHangul>오천</win5PayoutHangul>
</item>
</response>
리턴 정보
- chasu
- 로또 차수
- win1Payout
- 1등 당첨 금액
- win2Payout
- 2등 당첨 금액
- win3Payout
- 3등 당첨 금액
- win4Payout
- 4등 당첨 금액
- win5Payout
- 5등 당첨 금액