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": 1043,
        "chasuStr": "1,043",
        "date": "2022-11-26",
        "johabId": 2198390,
        "ball": [
            3,
            5,
            12,
            22,
            26,
            31
        ],
        "bonusBall": 19,
        "win": {
            "win1": {
                "count": 17,
                "countStr": "17",
                "payout": 1468646956,
                "payoutStr": "1,468,646,956",
                "payoutHangul": "일십사억육천팔백육십사만육천구백오십육"
            },
            "win2": {
                "count": 86,
                "countStr": "86",
                "payout": 48385656,
                "payoutStr": "48,385,656",
                "payoutHangul": "사천팔백삼십팔만오천육백오십육"
            },
            "win3": {
                "count": 3156,
                "countStr": "3,156",
                "payout": 1318494,
                "payoutStr": "1,318,494",
                "payoutHangul": "일백삼십일만팔천사백구십사"
            },
            "win4": {
                "count": 155087,
                "countStr": "155,087",
                "payout": 50000,
                "payoutStr": "50,000",
                "payoutHangul": "오만"
            },
            "win5": {
                "count": 2495858,
                "countStr": "2,495,858",
                "payout": 5000,
                "payoutStr": "5,000",
                "payoutHangul": "오천"
            }
        },
        "color": {
            "yellow": 2,
            "blue": 1,
            "red": 2,
            "gray": 1,
            "green": 0
        },
        "compositeNumber": 2,
        "consecutive": 0,
        "lowHigh": {
            "low": 4,
            "high": 2
        },
        "multipleOf3": 2,
        "oddEven": {
            "odd": 3,
            "even": 3
        },
        "primeNumber": 3,
        "sum": 99,
        "sumSingleDigit": 19
    }
]
parseResponse({
    "data": [
        {
            "chasu": 1043,
            "chasuStr": "1,043",
            "date": "2022-11-26",
            "johabId": 2198390,
            "ball": [
                3,
                5,
                12,
                22,
                26,
                31
            ],
            "bonusBall": 19,
            "win": {
                "win1": {
                    "count": 17,
                    "countStr": "17",
                    "payout": 1468646956,
                    "payoutStr": "1,468,646,956",
                    "payoutHangul": "일십사억육천팔백육십사만육천구백오십육"
                },
                "win2": {
                    "count": 86,
                    "countStr": "86",
                    "payout": 48385656,
                    "payoutStr": "48,385,656",
                    "payoutHangul": "사천팔백삼십팔만오천육백오십육"
                },
                "win3": {
                    "count": 3156,
                    "countStr": "3,156",
                    "payout": 1318494,
                    "payoutStr": "1,318,494",
                    "payoutHangul": "일백삼십일만팔천사백구십사"
                },
                "win4": {
                    "count": 155087,
                    "countStr": "155,087",
                    "payout": 50000,
                    "payoutStr": "50,000",
                    "payoutHangul": "오만"
                },
                "win5": {
                    "count": 2495858,
                    "countStr": "2,495,858",
                    "payout": 5000,
                    "payoutStr": "5,000",
                    "payoutHangul": "오천"
                }
            },
            "color": {
                "yellow": 2,
                "blue": 1,
                "red": 2,
                "gray": 1,
                "green": 0
            },
            "compositeNumber": 2,
            "consecutive": 0,
            "lowHigh": {
                "low": 4,
                "high": 2
            },
            "multipleOf3": 2,
            "oddEven": {
                "odd": 3,
                "even": 3
            },
            "primeNumber": 3,
            "sum": 99,
            "sumSingleDigit": 19
        }
    ]
});
<?xml version="1.0"?>
<response>
    <item>
        <chasu>1043</chasu>
        <chasuStr>1,043</chasuStr>
        <date>2022-11-26</date>
        <johabId>2198390</johabId>
        <ball>
            <item>3</item>
            <item>5</item>
            <item>12</item>
            <item>22</item>
            <item>26</item>
            <item>31</item>
        </ball>
        <bonusBall>19</bonusBall>
        <win>
            <win1>
                <count>17</count>
                <countStr>17</countStr>
                <payout>1468646956</payout>
                <payoutStr>1,468,646,956</payoutStr>
                <payoutHangul>&#xC77C;&#xC2ED;&#xC0AC;&#xC5B5;&#xC721;&#xCC9C;&#xD314;&#xBC31;&#xC721;&#xC2ED;&#xC0AC;&#xB9CC;&#xC721;&#xCC9C;&#xAD6C;&#xBC31;&#xC624;&#xC2ED;&#xC721;</payoutHangul>
            </win1>
            <win2>
                <count>86</count>
                <countStr>86</countStr>
                <payout>48385656</payout>
                <payoutStr>48,385,656</payoutStr>
                <payoutHangul>&#xC0AC;&#xCC9C;&#xD314;&#xBC31;&#xC0BC;&#xC2ED;&#xD314;&#xB9CC;&#xC624;&#xCC9C;&#xC721;&#xBC31;&#xC624;&#xC2ED;&#xC721;</payoutHangul>
            </win2>
            <win3>
                <count>3156</count>
                <countStr>3,156</countStr>
                <payout>1318494</payout>
                <payoutStr>1,318,494</payoutStr>
                <payoutHangul>&#xC77C;&#xBC31;&#xC0BC;&#xC2ED;&#xC77C;&#xB9CC;&#xD314;&#xCC9C;&#xC0AC;&#xBC31;&#xAD6C;&#xC2ED;&#xC0AC;</payoutHangul>
            </win3>
            <win4>
                <count>155087</count>
                <countStr>155,087</countStr>
                <payout>50000</payout>
                <payoutStr>50,000</payoutStr>
                <payoutHangul>&#xC624;&#xB9CC;</payoutHangul>
            </win4>
            <win5>
                <count>2495858</count>
                <countStr>2,495,858</countStr>
                <payout>5000</payout>
                <payoutStr>5,000</payoutStr>
                <payoutHangul>&#xC624;&#xCC9C;</payoutHangul>
            </win5>
        </win>
        <color>
            <yellow>2</yellow>
            <blue>1</blue>
            <red>2</red>
            <gray>1</gray>
            <green>0</green>
        </color>
        <compositeNumber>2</compositeNumber>
        <consecutive>0</consecutive>
        <lowHigh>
            <low>4</low>
            <high>2</high>
        </lowHigh>
        <multipleOf3>2</multipleOf3>
        <oddEven>
            <odd>3</odd>
            <even>3</even>
        </oddEven>
        <primeNumber>3</primeNumber>
        <sum>99</sum>
        <sumSingleDigit>19</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
일의 자리 총합