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": 1137,
"chasuStr": "1,137",
"win1Payout": 2023447688,
"win1PayoutStr": "2,023,447,688",
"win1PayoutHangul": "이십억이천삼백사십사만칠천육백팔십팔",
"win2Payout": 42534937,
"win2PayoutStr": "42,534,937",
"win2PayoutHangul": "사천이백오십삼만사천구백삼십칠",
"win3Payout": 1420818,
"win3PayoutStr": "1,420,818",
"win3PayoutHangul": "일백사십이만팔백일십팔",
"win4Payout": 50000,
"win4PayoutStr": "50,000",
"win4PayoutHangul": "오만",
"win5Payout": 5000,
"win5PayoutStr": "5,000",
"win5PayoutHangul": "오천"
}
]
parseResponse({
"data": [
{
"chasu": 1137,
"chasuStr": "1,137",
"win1Payout": 2023447688,
"win1PayoutStr": "2,023,447,688",
"win1PayoutHangul": "이십억이천삼백사십사만칠천육백팔십팔",
"win2Payout": 42534937,
"win2PayoutStr": "42,534,937",
"win2PayoutHangul": "사천이백오십삼만사천구백삼십칠",
"win3Payout": 1420818,
"win3PayoutStr": "1,420,818",
"win3PayoutHangul": "일백사십이만팔백일십팔",
"win4Payout": 50000,
"win4PayoutStr": "50,000",
"win4PayoutHangul": "오만",
"win5Payout": 5000,
"win5PayoutStr": "5,000",
"win5PayoutHangul": "오천"
}
]
});
<?xml version="1.0"?>
<response>
<item>
<chasu>1137</chasu>
<chasuStr>1,137</chasuStr>
<win1Payout>2023447688</win1Payout>
<win1PayoutStr>2,023,447,688</win1PayoutStr>
<win1PayoutHangul>이십억이천삼백사십사만칠천육백팔십팔</win1PayoutHangul>
<win2Payout>42534937</win2Payout>
<win2PayoutStr>42,534,937</win2PayoutStr>
<win2PayoutHangul>사천이백오십삼만사천구백삼십칠</win2PayoutHangul>
<win3Payout>1420818</win3Payout>
<win3PayoutStr>1,420,818</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등 당첨 금액