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": 962,
        "chasuStr": "962",
        "date": "2021-05-08",
        "johabId": 1002477,
        "ball": [
            1,
            18,
            28,
            31,
            34,
            43
        ],
        "bonusBall": 40,
        "win": {
            "win1": {
                "count": 12,
                "countStr": "12",
                "payout": 1940906094,
                "payoutStr": "1,940,906,094",
                "payoutHangul": "일십구억사천구십만육천구십사"
            },
            "win2": {
                "count": 73,
                "countStr": "73",
                "payout": 53175510,
                "payoutStr": "53,175,510",
                "payoutHangul": "오천삼백일십칠만오천오백일십"
            },
            "win3": {
                "count": 2581,
                "countStr": "2,581",
                "payout": 1503996,
                "payoutStr": "1,503,996",
                "payoutHangul": "일백오십만삼천구백구십육"
            },
            "win4": {
                "count": 126528,
                "countStr": "126,528",
                "payout": 50000,
                "payoutStr": "50,000",
                "payoutHangul": "오만"
            },
            "win5": {
                "count": 2119457,
                "countStr": "2,119,457",
                "payout": 5000,
                "payoutStr": "5,000",
                "payoutHangul": "오천"
            }
        },
        "color": {
            "yellow": 1,
            "blue": 1,
            "red": 1,
            "gray": 2,
            "green": 1
        },
        "compositeNumber": 3,
        "consecutive": 0,
        "lowHigh": {
            "low": 2,
            "high": 4
        },
        "multipleOf3": 1,
        "oddEven": {
            "odd": 3,
            "even": 3
        },
        "primeNumber": 2,
        "sum": 155,
        "sumSingleDigit": 25
    }
]
parseResponse({
    "data": [
        {
            "chasu": 962,
            "chasuStr": "962",
            "date": "2021-05-08",
            "johabId": 1002477,
            "ball": [
                1,
                18,
                28,
                31,
                34,
                43
            ],
            "bonusBall": 40,
            "win": {
                "win1": {
                    "count": 12,
                    "countStr": "12",
                    "payout": 1940906094,
                    "payoutStr": "1,940,906,094",
                    "payoutHangul": "일십구억사천구십만육천구십사"
                },
                "win2": {
                    "count": 73,
                    "countStr": "73",
                    "payout": 53175510,
                    "payoutStr": "53,175,510",
                    "payoutHangul": "오천삼백일십칠만오천오백일십"
                },
                "win3": {
                    "count": 2581,
                    "countStr": "2,581",
                    "payout": 1503996,
                    "payoutStr": "1,503,996",
                    "payoutHangul": "일백오십만삼천구백구십육"
                },
                "win4": {
                    "count": 126528,
                    "countStr": "126,528",
                    "payout": 50000,
                    "payoutStr": "50,000",
                    "payoutHangul": "오만"
                },
                "win5": {
                    "count": 2119457,
                    "countStr": "2,119,457",
                    "payout": 5000,
                    "payoutStr": "5,000",
                    "payoutHangul": "오천"
                }
            },
            "color": {
                "yellow": 1,
                "blue": 1,
                "red": 1,
                "gray": 2,
                "green": 1
            },
            "compositeNumber": 3,
            "consecutive": 0,
            "lowHigh": {
                "low": 2,
                "high": 4
            },
            "multipleOf3": 1,
            "oddEven": {
                "odd": 3,
                "even": 3
            },
            "primeNumber": 2,
            "sum": 155,
            "sumSingleDigit": 25
        }
    ]
});
<?xml version="1.0"?>
<response>
    <item>
        <chasu>962</chasu>
        <chasuStr>962</chasuStr>
        <date>2021-05-08</date>
        <johabId>1002477</johabId>
        <ball>
            <item>1</item>
            <item>18</item>
            <item>28</item>
            <item>31</item>
            <item>34</item>
            <item>43</item>
        </ball>
        <bonusBall>40</bonusBall>
        <win>
            <win1>
                <count>12</count>
                <countStr>12</countStr>
                <payout>1940906094</payout>
                <payoutStr>1,940,906,094</payoutStr>
                <payoutHangul>&#xC77C;&#xC2ED;&#xAD6C;&#xC5B5;&#xC0AC;&#xCC9C;&#xAD6C;&#xC2ED;&#xB9CC;&#xC721;&#xCC9C;&#xAD6C;&#xC2ED;&#xC0AC;</payoutHangul>
            </win1>
            <win2>
                <count>73</count>
                <countStr>73</countStr>
                <payout>53175510</payout>
                <payoutStr>53,175,510</payoutStr>
                <payoutHangul>&#xC624;&#xCC9C;&#xC0BC;&#xBC31;&#xC77C;&#xC2ED;&#xCE60;&#xB9CC;&#xC624;&#xCC9C;&#xC624;&#xBC31;&#xC77C;&#xC2ED;</payoutHangul>
            </win2>
            <win3>
                <count>2581</count>
                <countStr>2,581</countStr>
                <payout>1503996</payout>
                <payoutStr>1,503,996</payoutStr>
                <payoutHangul>&#xC77C;&#xBC31;&#xC624;&#xC2ED;&#xB9CC;&#xC0BC;&#xCC9C;&#xAD6C;&#xBC31;&#xAD6C;&#xC2ED;&#xC721;</payoutHangul>
            </win3>
            <win4>
                <count>126528</count>
                <countStr>126,528</countStr>
                <payout>50000</payout>
                <payoutStr>50,000</payoutStr>
                <payoutHangul>&#xC624;&#xB9CC;</payoutHangul>
            </win4>
            <win5>
                <count>2119457</count>
                <countStr>2,119,457</countStr>
                <payout>5000</payout>
                <payoutStr>5,000</payoutStr>
                <payoutHangul>&#xC624;&#xCC9C;</payoutHangul>
            </win5>
        </win>
        <color>
            <yellow>1</yellow>
            <blue>1</blue>
            <red>1</red>
            <gray>2</gray>
            <green>1</green>
        </color>
        <compositeNumber>3</compositeNumber>
        <consecutive>0</consecutive>
        <lowHigh>
            <low>2</low>
            <high>4</high>
        </lowHigh>
        <multipleOf3>1</multipleOf3>
        <oddEven>
            <odd>3</odd>
            <even>3</even>
        </oddEven>
        <primeNumber>2</primeNumber>
        <sum>155</sum>
        <sumSingleDigit>25</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
일의 자리 총합