https://api.lotto-haru.kr/color/hit/yellow.json
지원하는 HTTP Method : GET
파라메타 정보
- chasu
- [숫자][다중] 차수를 설정
- chasuStart
- [숫자] 시작 차수를 설정 (※ chasuEnd 와 함께 사용시, chasuEnd 보다 같거나 작아야함)
- chasuEnd
- [숫자] 종료 차수를 설정 (※ chasuStart 와 함께 사용시, chasuStart 보다 같거나 커야함)
선택 1. https://api.lotto-haru.kr/color/hit/yellow.json
선택 2. https://api.lotto-haru.kr/color/hit/yellow/{chasu}.json
선택 3. https://api.lotto-haru.kr/color/hit/yellow/0/{chasuStart}.json
선택 4. https://api.lotto-haru.kr/color/hit/yellow/0/{chasuStart}/{chasuEnd}.json
{
"yellow0": 252,
"yellow0Str": "252",
"yellow1": 428,
"yellow1Str": "428",
"yellow2": 357,
"yellow2Str": "357",
"yellow3": 97,
"yellow3Str": "97",
"yellow4": 10,
"yellow4Str": "10",
"yellow5": 2,
"yellow5Str": "2",
"yellow6": 0,
"yellow6Str": "0"
}
parseResponse({
"data": {
"yellow0": 252,
"yellow0Str": "252",
"yellow1": 428,
"yellow1Str": "428",
"yellow2": 357,
"yellow2Str": "357",
"yellow3": 97,
"yellow3Str": "97",
"yellow4": 10,
"yellow4Str": "10",
"yellow5": 2,
"yellow5Str": "2",
"yellow6": 0,
"yellow6Str": "0"
}
});
<?xml version="1.0"?>
<response>
<yellow0>252</yellow0>
<yellow0Str>252</yellow0Str>
<yellow1>428</yellow1>
<yellow1Str>428</yellow1Str>
<yellow2>357</yellow2>
<yellow2Str>357</yellow2Str>
<yellow3>97</yellow3>
<yellow3Str>97</yellow3Str>
<yellow4>10</yellow4>
<yellow4Str>10</yellow4Str>
<yellow5>2</yellow5>
<yellow5Str>2</yellow5Str>
<yellow6>0</yellow6>
<yellow6Str>0</yellow6Str>
</response>