| name | korean-patent-search |
| title | ํ๊ตญ ํนํ ์ ๋ณด ๊ฒ์ |
| description | Search Korean patent and utility-model publications through the official KIPRIS Plus Open API with keyword search plus application-number detail lookup. |
| author | NomaDamas |
| author_url | https://github.com/NomaDamas/k-skill/tree/main/korean-patent-search |
| license | MIT |
| version | 0.1.0 |
| execution_mode | open |
| jurisdiction | kr |
| practice | ip |
| language | ko |
ํ๊ตญ ํนํ ์ ๋ณด ๊ฒ์
What this skill does
KIPRIS Plus(ํคํ๋ฆฌ์ค ํ๋ฌ์ค) ๊ณต์ Open API๋ก ํ๊ตญ ํนํ/์ค์ฉ์ ์ ๊ณต๊ฐยท๊ณต๊ณ ๋ฐ์ดํฐ๋ฅผ ๊ฒ์ํ๋ค.
v1 ๋ฒ์:
- ํค์๋ ๊ฒ์ (
getWordSearch)
- ์ถ์๋ฒํธ ๊ธฐ์ค ์์ง ์์ธ ์กฐํ (
getBibliographyDetailInfoSearch)
- ๊ตฌ์กฐํ๋ JSON ์ถ๋ ฅ
- ํ์ค
python3 helper ๋๋ด
When to use
- "๋ฐฐํฐ๋ฆฌ ๊ด๋ จ ํ๊ตญ ํนํ ์ฐพ์์ค"
- "์ถ์๋ฒํธ 1020240001234 ํนํ ์์ฝ ๋ณด์ฌ์ค"
- "KIPRIS API๋ก ํนํ ๊ฒ์ ๊ฒฐ๊ณผ๋ฅผ JSON์ผ๋ก ๋ฐ๊ณ ์ถ์ด"
- "์ถ์์ธ/IPC/์ด๋ก๊น์ง ํฌํจํ ํ๊ตญ ํนํ ๊ฒ์ ๊ฒฐ๊ณผ๊ฐ ํ์ํด"
Prerequisites
- ์ธํฐ๋ท ์ฐ๊ฒฐ
python3
- KIPRIS Plus์์ ๋ฐ๊ธ๋ฐ์ API ํค
- helper ํ๊ฒฝ๋ณ์:
KIPRIS_PLUS_API_KEY
- ์ค์ ์์ฒญ ์ฟผ๋ฆฌ ํ๋ผ๋ฏธํฐ๋ช
:
ServiceKey
- ์ค์น๋ skill payload ์์
scripts/patent_search.py helper ํฌํจ
Inputs
- ํค์๋ ๊ฒ์
- ํ์:
--query
- ์ ํ:
--year
- ์ ํ:
--page-no
- ์ ํ:
--num-rows
- ์ ํ:
--exclude-patent
- ์ ํ:
--exclude-utility
- ์์ธ ์กฐํ
- ํ์:
--application-number
Workflow
KIPRIS_PLUS_API_KEY ๋๋ --service-key ๋ก ServiceKey๋ฅผ ํ๋ณดํ๋ค. ๊ณต๊ณต๋ฐ์ดํฐํฌํธ์์ ๋ณต์ฌํ percent-encoded ๊ฐ๋ helper๊ฐ ํ ๋ฒ ์ ๊ทํํด์ ๊ทธ๋๋ก ๋ฐ์ ์ ์๋ค.
- ํค์๋ ๊ฒ์์ด๋ฉด
getWordSearch endpoint๋ฅผ ํธ์ถํ๋ค.
- ์ถ์๋ฒํธ ์์ธ ์กฐํ๋ฉด
getBibliographyDetailInfoSearch endpoint๋ฅผ ํธ์ถํ๋ค.
- XML ์๋ต์ header/body/items ๊ตฌ์กฐ๋ฅผ ํ์ฑํ๋ค.
- ์ถ์๋ฒํธ, ๋ฐ๋ช
์๋ช
์นญ, ์ถ์์ธ, ์ด๋ก, ๊ณต๊ฐ/๊ณต๊ณ /๋ฑ๋ก ๋ฉํ๋ฐ์ดํฐ๋ฅผ JSON์ผ๋ก ์ ๋ฆฌํ๋ค.
CLI examples
export KIPRIS_PLUS_API_KEY=your-service-key
python3 scripts/patent_search.py --query "๋ฐฐํฐ๋ฆฌ"
python3 scripts/patent_search.py --query "๋ฐฐํฐ๋ฆฌ" --year 2024 --num-rows 5
python3 scripts/patent_search.py --application-number 1020240001234
Response policy
- ๊ณต์ KIPRIS Plus Open API ์๋ต๋ง ์ฌ์ฉํ๋ค.
- ํค๊ฐ ์์ผ๋ฉด
KIPRIS_PLUS_API_KEY ๋๋ --service-key ๋ฅผ ์ ํํ ์๋ดํ๋ค.