{"_id":"kbl-results","name":"kbl-results","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"kbl-results","version":"0.2.0","description":"Official KBL match results and standings client","license":"MIT","main":"src/index.js","engines":{"node":">=18"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/NomaDamas/k-skill.git"},"keywords":["k-skill","kbl","basketball","korea"],"scripts":{"lint":"node --check src/index.js && node --check src/parse.js && node --check test/index.test.js","test":"node --test"},"gitHead":"f6b76e7d406be786f97274d1a8949c4c5c80bbc2","_id":"kbl-results@0.2.0","bugs":{"url":"https://github.com/NomaDamas/k-skill/issues"},"homepage":"https://github.com/NomaDamas/k-skill#readme","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-/nYFahB6TJxaLeTbB2RiH9s7pOT7eICkC5F52SaitA1eC7o3THMCeizIHTGPGutYJ+kTGiq2VlUKcC4lDUT6Xw==","shasum":"705ba9116ac8de9441ec1031f832b359c2b3b18f","tarball":"https://registry.npmjs.org/kbl-results/-/kbl-results-0.2.0.tgz","fileCount":4,"unpackedSize":18337,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/kbl-results@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCID8g9rOM+gXwQ5n+0Ohp/lBhOUFoBYTqQj2DrC1vVdYyAiB51E7IvBQVVCqSxUxU08gO2U7icHFIYB/B7Fl5009f6A=="}]},"_npmUser":{"name":"vkehfdl1","email":"vkehfdl1@gmail.com"},"directories":{},"maintainers":[{"name":"vkehfdl1","email":"vkehfdl1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/kbl-results_0.2.0_1776481181151_0.8481313625826319"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-18T02:59:41.093Z","0.2.0":"2026-04-18T02:59:41.279Z","modified":"2026-04-18T02:59:41.581Z"},"maintainers":[{"name":"vkehfdl1","email":"vkehfdl1@gmail.com"}],"description":"Official KBL match results and standings client","homepage":"https://github.com/NomaDamas/k-skill#readme","keywords":["k-skill","kbl","basketball","korea"],"repository":{"type":"git","url":"git+https://github.com/NomaDamas/k-skill.git"},"bugs":{"url":"https://github.com/NomaDamas/k-skill/issues"},"license":"MIT","readme":"# kbl-results\n\n공식 KBL JSON 엔드포인트를 감싼 재사용 가능한 Node.js 클라이언트입니다. 날짜별 경기 결과와 현재 순위를 함께 조회할 수 있습니다.\n\n## Install\n\n```bash\nnpm install kbl-results\n```\n\n## Official surfaces\n\n- 일정/결과: `https://api.kbl.or.kr/match/list`\n- 팀 순위: `https://api.kbl.or.kr/league/rank/team`\n\n## Usage\n\n```js\nconst { getKBLSummary, getMatchResults, getStandings } = require(\"kbl-results\");\n\n(async () => {\n  const results = await getMatchResults(\"2026-04-01\", {\n    team: \"서울 SK\",\n  });\n\n  const standings = await getStandings();\n\n  const summary = await getKBLSummary(\"2026-04-01\", {\n    team: \"부산 KCC\",\n    includeStandings: true,\n  });\n\n  console.log(results.matches[0]);\n  console.log(standings.rows[0]);\n  console.log(summary);\n})();\n```\n\n## API\n\n### `getMatchResults(date, options)`\n\n- `date`: `YYYY-MM-DD` 또는 `Date`\n- `options.team`: short name / full name / team code alias\n- `options.seasonGrade`: 기본값은 `1` (KBL 1군)\n\n### `getStandings()`\n\n- 현재 KBL 팀 순위를 반환합니다.\n\n### `getKBLSummary(date, options)`\n\n- 날짜 결과와 현재 순위를 한 번에 반환합니다.\n\n## Notes\n\n- 공식 KBL JSON 엔드포인트 기준이라 HTML 크롤링보다 유지보수가 단순합니다.\n- `match/list` 는 `fromDate` / `toDate` 를 `YYYYMMDD` 형식으로 받습니다.\n- 1군 KBL 조회 기본값은 `seasonGrade=1` 입니다.\n","readmeFilename":"README.md","_rev":"1-97ed0b91fe21afa8bea132e80a3dac82"}