https://api.lotto-haru.kr/composite-number/hit.json
지원하는 HTTP Method : GET
파라메타 정보
- chasu
- [숫자][다중] 차수를 설정
- chasuStart
- [숫자] 시작 차수를 설정 (※ chasuEnd 와 함께 사용시, chasuEnd 보다 같거나 작아야함)
- chasuEnd
- [숫자] 종료 차수를 설정 (※ chasuStart 와 함께 사용시, chasuStart 보다 같거나 커야함)
선택 1. https://api.lotto-haru.kr/composite-number/hit.json
선택 2. https://api.lotto-haru.kr/composite-number/hit/{chasu}.json
선택 3. https://api.lotto-haru.kr/composite-number/hit/0/{chasuStart}.json
선택 4. https://api.lotto-haru.kr/composite-number/hit/0/{chasuStart}/{chasuEnd}.json
{
"compositeNumber0": 61,
"compositeNumber0Str": "61",
"compositeNumber1": 223,
"compositeNumber1Str": "223",
"compositeNumber2": 379,
"compositeNumber2Str": "379",
"compositeNumber3": 344,
"compositeNumber3Str": "344",
"compositeNumber4": 109,
"compositeNumber4Str": "109",
"compositeNumber5": 22,
"compositeNumber5Str": "22",
"compositeNumber6": 3,
"compositeNumber6Str": "3"
}
parseResponse({
"data": {
"compositeNumber0": 61,
"compositeNumber0Str": "61",
"compositeNumber1": 223,
"compositeNumber1Str": "223",
"compositeNumber2": 379,
"compositeNumber2Str": "379",
"compositeNumber3": 344,
"compositeNumber3Str": "344",
"compositeNumber4": 109,
"compositeNumber4Str": "109",
"compositeNumber5": 22,
"compositeNumber5Str": "22",
"compositeNumber6": 3,
"compositeNumber6Str": "3"
}
});
<?xml version="1.0"?>
<response>
<compositeNumber0>61</compositeNumber0>
<compositeNumber0Str>61</compositeNumber0Str>
<compositeNumber1>223</compositeNumber1>
<compositeNumber1Str>223</compositeNumber1Str>
<compositeNumber2>379</compositeNumber2>
<compositeNumber2Str>379</compositeNumber2Str>
<compositeNumber3>344</compositeNumber3>
<compositeNumber3Str>344</compositeNumber3Str>
<compositeNumber4>109</compositeNumber4>
<compositeNumber4Str>109</compositeNumber4Str>
<compositeNumber5>22</compositeNumber5>
<compositeNumber5Str>22</compositeNumber5Str>
<compositeNumber6>3</compositeNumber6>
<compositeNumber6Str>3</compositeNumber6Str>
</response>