https://api.lotto-haru.kr/color/hit/green.json
지원하는 HTTP Method : GET
파라메타 정보
- chasu
- [숫자][다중] 차수를 설정
- chasuStart
- [숫자] 시작 차수를 설정 (※ chasuEnd 와 함께 사용시, chasuEnd 보다 같거나 작아야함)
- chasuEnd
- [숫자] 종료 차수를 설정 (※ chasuStart 와 함께 사용시, chasuStart 보다 같거나 커야함)
선택 1. https://api.lotto-haru.kr/color/hit/green.json
선택 2. https://api.lotto-haru.kr/color/hit/green/{chasu}.json
선택 3. https://api.lotto-haru.kr/color/hit/green/0/{chasuStart}.json
선택 4. https://api.lotto-haru.kr/color/hit/green/0/{chasuStart}/{chasuEnd}.json
{
"green0": 545,
"green0Str": "545",
"green1": 456,
"green1Str": "456",
"green2": 128,
"green2Str": "128",
"green3": 16,
"green3Str": "16",
"green4": 0,
"green4Str": "0",
"green5": 0,
"green5Str": "0"
}
parseResponse({
"data": {
"green0": 545,
"green0Str": "545",
"green1": 456,
"green1Str": "456",
"green2": 128,
"green2Str": "128",
"green3": 16,
"green3Str": "16",
"green4": 0,
"green4Str": "0",
"green5": 0,
"green5Str": "0"
}
});
<?xml version="1.0"?>
<response>
<green0>545</green0>
<green0Str>545</green0Str>
<green1>456</green1>
<green1Str>456</green1Str>
<green2>128</green2>
<green2Str>128</green2Str>
<green3>16</green3>
<green3Str>16</green3Str>
<green4>0</green4>
<green4Str>0</green4Str>
<green5>0</green5>
<green5Str>0</green5Str>
</response>