https://api.lotto-haru.kr/win/analysis.json

지원하는 HTTP Method : GET
파라메타 정보
chasu
[숫자][다중] 차수를 설정
chasuStart
[숫자] 시작 차수를 설정 (※ chasuEnd 와 함께 사용시, chasuEnd 보다 같거나 작아야함)
chasuEnd
[숫자] 종료 차수를 설정 (※ chasuStart 와 함께 사용시, chasuStart 보다 같거나 커야함)

선택 1. https://api.lotto-haru.kr/win/analysis.json
선택 2. https://api.lotto-haru.kr/win/analysis/{chasu}.json
선택 3. https://api.lotto-haru.kr/win/analysis/0/{chasuStart}.json
선택 4. https://api.lotto-haru.kr/win/analysis/0/{chasuStart}/{chasuEnd}.json

[
    {
        "chasu": 899,
        "chasuStr": "899",
        "date": "2020-02-22",
        "johabId": 5739750,
        "ball": [
            8,
            19,
            20,
            21,
            33,
            39
        ],
        "bonusBall": 37,
        "win": {
            "win1": {
                "count": 6,
                "countStr": "6",
                "payout": 3359356063,
                "payoutStr": "3,359,356,063"
            },
            "win2": {
                "count": 53,
                "countStr": "53",
                "payout": 63384077,
                "payoutStr": "63,384,077"
            },
            "win3": {
                "count": 2402,
                "countStr": "2,402",
                "payout": 1398567,
                "payoutStr": "1,398,567"
            },
            "win4": {
                "count": 121900,
                "countStr": "121,900",
                "payout": 50000,
                "payoutStr": "50,000"
            },
            "win5": {
                "count": 1993765,
                "countStr": "1,993,765",
                "payout": 5000,
                "payoutStr": "5,000"
            }
        },
        "color": {
            "yellow": 1,
            "blue": 2,
            "red": 1,
            "gray": 2,
            "green": 0
        },
        "compositeNumber": 2,
        "consecutive": 2,
        "lowHigh": {
            "low": 4,
            "high": 2
        },
        "multipleOf3": 3,
        "oddEven": {
            "odd": 4,
            "even": 2
        },
        "primeNumber": 1,
        "sum": 140,
        "sumSingleDigit": 30
    }
]
parseResponse({
    "data": [
        {
            "chasu": 899,
            "chasuStr": "899",
            "date": "2020-02-22",
            "johabId": 5739750,
            "ball": [
                8,
                19,
                20,
                21,
                33,
                39
            ],
            "bonusBall": 37,
            "win": {
                "win1": {
                    "count": 6,
                    "countStr": "6",
                    "payout": 3359356063,
                    "payoutStr": "3,359,356,063"
                },
                "win2": {
                    "count": 53,
                    "countStr": "53",
                    "payout": 63384077,
                    "payoutStr": "63,384,077"
                },
                "win3": {
                    "count": 2402,
                    "countStr": "2,402",
                    "payout": 1398567,
                    "payoutStr": "1,398,567"
                },
                "win4": {
                    "count": 121900,
                    "countStr": "121,900",
                    "payout": 50000,
                    "payoutStr": "50,000"
                },
                "win5": {
                    "count": 1993765,
                    "countStr": "1,993,765",
                    "payout": 5000,
                    "payoutStr": "5,000"
                }
            },
            "color": {
                "yellow": 1,
                "blue": 2,
                "red": 1,
                "gray": 2,
                "green": 0
            },
            "compositeNumber": 2,
            "consecutive": 2,
            "lowHigh": {
                "low": 4,
                "high": 2
            },
            "multipleOf3": 3,
            "oddEven": {
                "odd": 4,
                "even": 2
            },
            "primeNumber": 1,
            "sum": 140,
            "sumSingleDigit": 30
        }
    ]
});
<?xml version="1.0"?>
<response>
    <item>
        <chasu>899</chasu>
        <chasuStr>899</chasuStr>
        <date>2020-02-22</date>
        <johabId>5739750</johabId>
        <ball>
            <item>8</item>
            <item>19</item>
            <item>20</item>
            <item>21</item>
            <item>33</item>
            <item>39</item>
        </ball>
        <bonusBall>37</bonusBall>
        <win>
            <win1>
                <count>6</count>
                <countStr>6</countStr>
                <payout>3359356063</payout>
                <payoutStr>3,359,356,063</payoutStr>
            </win1>
            <win2>
                <count>53</count>
                <countStr>53</countStr>
                <payout>63384077</payout>
                <payoutStr>63,384,077</payoutStr>
            </win2>
            <win3>
                <count>2402</count>
                <countStr>2,402</countStr>
                <payout>1398567</payout>
                <payoutStr>1,398,567</payoutStr>
            </win3>
            <win4>
                <count>121900</count>
                <countStr>121,900</countStr>
                <payout>50000</payout>
                <payoutStr>50,000</payoutStr>
            </win4>
            <win5>
                <count>1993765</count>
                <countStr>1,993,765</countStr>
                <payout>5000</payout>
                <payoutStr>5,000</payoutStr>
            </win5>
        </win>
        <color>
            <yellow>1</yellow>
            <blue>2</blue>
            <red>1</red>
            <gray>2</gray>
            <green>0</green>
        </color>
        <compositeNumber>2</compositeNumber>
        <consecutive>2</consecutive>
        <lowHigh>
            <low>4</low>
            <high>2</high>
        </lowHigh>
        <multipleOf3>3</multipleOf3>
        <oddEven>
            <odd>4</odd>
            <even>2</even>
        </oddEven>
        <primeNumber>1</primeNumber>
        <sum>140</sum>
        <sumSingleDigit>30</sumSingleDigit>
    </item>
</response>
리턴 정보
chasu
로또 차수
date
로또 추첨일
johabId
조합 고유 아이디
ball
당첨 번호
bonusBall
보너스 번호
win
등수별 당첨 정보
count : 당첨자 수 (명)
payout : 당첨 금액 (원)
color
공 색상 개수
yellow : 1 ~ 10
blue : 11 ~ 20
red : 21 ~ 30
gray : 31 ~ 40
green : 41 ~ 45
compositeNumber
합성수 개수
합성수는 소수와 3의 배수를 제외한 숫자를 말합니다.
consecutive
연번 쌍 개수
lowHigh
저고 개수
low : 1 ~ 22
high : 23 ~ 45
multipleOf3
3의 배수
oddEven
홀짝 개수
primeNumber
소수 개수
소수는 1과 자신 이외에는 나누어지지 않는 수를 말합니다.
sum
총합
sumSingleDigit
일의 자리 총합