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": 998,
        "chasuStr": "998",
        "date": "2022-01-15",
        "johabId": 7120735,
        "ball": [
            13,
            17,
            18,
            20,
            42,
            45
        ],
        "bonusBall": 41,
        "win": {
            "win1": {
                "count": 12,
                "countStr": "12",
                "payout": 2076499657,
                "payoutStr": "2,076,499,657",
                "payoutHangul": "이십억칠천육백사십구만구천육백오십칠"
            },
            "win2": {
                "count": 53,
                "countStr": "53",
                "payout": 78358478,
                "payoutStr": "78,358,478",
                "payoutHangul": "칠천팔백삼십오만팔천사백칠십팔"
            },
            "win3": {
                "count": 2648,
                "countStr": "2,648",
                "payout": 1568354,
                "payoutStr": "1,568,354",
                "payoutHangul": "일백오십육만팔천삼백오십사"
            },
            "win4": {
                "count": 129576,
                "countStr": "129,576",
                "payout": 50000,
                "payoutStr": "50,000",
                "payoutHangul": "오만"
            },
            "win5": {
                "count": 2227628,
                "countStr": "2,227,628",
                "payout": 5000,
                "payoutStr": "5,000",
                "payoutHangul": "오천"
            }
        },
        "color": {
            "yellow": 0,
            "blue": 4,
            "red": 0,
            "gray": 0,
            "green": 2
        },
        "compositeNumber": 1,
        "consecutive": 1,
        "lowHigh": {
            "low": 4,
            "high": 2
        },
        "multipleOf3": 3,
        "oddEven": {
            "odd": 3,
            "even": 3
        },
        "primeNumber": 2,
        "sum": 155,
        "sumSingleDigit": 25
    }
]
parseResponse({
    "data": [
        {
            "chasu": 998,
            "chasuStr": "998",
            "date": "2022-01-15",
            "johabId": 7120735,
            "ball": [
                13,
                17,
                18,
                20,
                42,
                45
            ],
            "bonusBall": 41,
            "win": {
                "win1": {
                    "count": 12,
                    "countStr": "12",
                    "payout": 2076499657,
                    "payoutStr": "2,076,499,657",
                    "payoutHangul": "이십억칠천육백사십구만구천육백오십칠"
                },
                "win2": {
                    "count": 53,
                    "countStr": "53",
                    "payout": 78358478,
                    "payoutStr": "78,358,478",
                    "payoutHangul": "칠천팔백삼십오만팔천사백칠십팔"
                },
                "win3": {
                    "count": 2648,
                    "countStr": "2,648",
                    "payout": 1568354,
                    "payoutStr": "1,568,354",
                    "payoutHangul": "일백오십육만팔천삼백오십사"
                },
                "win4": {
                    "count": 129576,
                    "countStr": "129,576",
                    "payout": 50000,
                    "payoutStr": "50,000",
                    "payoutHangul": "오만"
                },
                "win5": {
                    "count": 2227628,
                    "countStr": "2,227,628",
                    "payout": 5000,
                    "payoutStr": "5,000",
                    "payoutHangul": "오천"
                }
            },
            "color": {
                "yellow": 0,
                "blue": 4,
                "red": 0,
                "gray": 0,
                "green": 2
            },
            "compositeNumber": 1,
            "consecutive": 1,
            "lowHigh": {
                "low": 4,
                "high": 2
            },
            "multipleOf3": 3,
            "oddEven": {
                "odd": 3,
                "even": 3
            },
            "primeNumber": 2,
            "sum": 155,
            "sumSingleDigit": 25
        }
    ]
});
<?xml version="1.0"?>
<response>
    <item>
        <chasu>998</chasu>
        <chasuStr>998</chasuStr>
        <date>2022-01-15</date>
        <johabId>7120735</johabId>
        <ball>
            <item>13</item>
            <item>17</item>
            <item>18</item>
            <item>20</item>
            <item>42</item>
            <item>45</item>
        </ball>
        <bonusBall>41</bonusBall>
        <win>
            <win1>
                <count>12</count>
                <countStr>12</countStr>
                <payout>2076499657</payout>
                <payoutStr>2,076,499,657</payoutStr>
                <payoutHangul>&#xC774;&#xC2ED;&#xC5B5;&#xCE60;&#xCC9C;&#xC721;&#xBC31;&#xC0AC;&#xC2ED;&#xAD6C;&#xB9CC;&#xAD6C;&#xCC9C;&#xC721;&#xBC31;&#xC624;&#xC2ED;&#xCE60;</payoutHangul>
            </win1>
            <win2>
                <count>53</count>
                <countStr>53</countStr>
                <payout>78358478</payout>
                <payoutStr>78,358,478</payoutStr>
                <payoutHangul>&#xCE60;&#xCC9C;&#xD314;&#xBC31;&#xC0BC;&#xC2ED;&#xC624;&#xB9CC;&#xD314;&#xCC9C;&#xC0AC;&#xBC31;&#xCE60;&#xC2ED;&#xD314;</payoutHangul>
            </win2>
            <win3>
                <count>2648</count>
                <countStr>2,648</countStr>
                <payout>1568354</payout>
                <payoutStr>1,568,354</payoutStr>
                <payoutHangul>&#xC77C;&#xBC31;&#xC624;&#xC2ED;&#xC721;&#xB9CC;&#xD314;&#xCC9C;&#xC0BC;&#xBC31;&#xC624;&#xC2ED;&#xC0AC;</payoutHangul>
            </win3>
            <win4>
                <count>129576</count>
                <countStr>129,576</countStr>
                <payout>50000</payout>
                <payoutStr>50,000</payoutStr>
                <payoutHangul>&#xC624;&#xB9CC;</payoutHangul>
            </win4>
            <win5>
                <count>2227628</count>
                <countStr>2,227,628</countStr>
                <payout>5000</payout>
                <payoutStr>5,000</payoutStr>
                <payoutHangul>&#xC624;&#xCC9C;</payoutHangul>
            </win5>
        </win>
        <color>
            <yellow>0</yellow>
            <blue>4</blue>
            <red>0</red>
            <gray>0</gray>
            <green>2</green>
        </color>
        <compositeNumber>1</compositeNumber>
        <consecutive>1</consecutive>
        <lowHigh>
            <low>4</low>
            <high>2</high>
        </lowHigh>
        <multipleOf3>3</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
일의 자리 총합