Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计提醒

kto-tourapi-cliKTO tourapi CLI 搜索

Agent Skill

kto-tourapi-cli 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,280

周安装

55

GitHub Stars

公开资料未说明

下载量

449
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:kto-tourapi-cli(KTO tourapi CLI 搜索)
来源仓库:https://github.com/chloepark85/kto-tourapi-cli
安装命令:
openclaw skills install kto-tourapi-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install kto-tourapi-cli

简介

kto-tourapi-cli 调用韩国观光公社 TourAPI 获取旅游内容数据。

  • 覆盖景点、文化设施、节庆、住宿等八大类别信息。
  • 通过 clawhub 安装,需申请 apis.data.go.kr 密钥并配置参数。
  • 使用前请查阅仓库文档了解 areaCode2 等子命令用法。
  • 注意 API 返回数据可能包含韩语描述,需自行处理翻译。

SKILL.md

name
kto-tourapi-cli
description
Korean tourism content (관광지·문화시설·축제공연·여행코스·레포츠·숙박·쇼핑·음식점) via 한국관광공사 TourAPI 4.0 (apis.data.go.kr/B551011/KorService2). Eight subcommands wrap areaCode2, categoryCode2, areaBasedList2, locationBasedList2, searchKeyword2, searchFestival2, searchStay2, and a one-shot detail fetch (detailCommon2 + detailIntro2 + detailInfo2 + detailImage2). Use when planning Korea trip itineraries, building festival calendars, sourcing K-tourism content for blogs/maps/videos, finding nearby restaurants or stays from a coordinate, or backing TourAPI-grounded answers in an AI agent. Pairs with juso-address-cli (resolve addresses), kakao-local-cli (Kakao Maps pins), kr-holiday-cli (align with KR calendar), naver-papago-translate (localize for non-KR users), and tistory-api-cli / velog-cli (publish itineraries). Free data.go.kr tier (1,000 req/day dev, 10,000+ req/day on prod approval).
version
0.1.0
license
MIT

kto-tourapi-cli

Command-line wrapper for 한국관광공사 TourAPI 4.0 (KorService2) — Korea's first-party tourism content API. Curated and maintained by 한국관광공사 (Korea Tourism Organization), it's the data behind VisitKorea, 대한민국 구석구석, and most travel apps in Korea.

Eight subcommands, each wraps one (or one composite) endpoint:

CommandEndpoint(s)Purpose
scripts/area-code.shareaCode217개 광역시도 → 시군구 코드 트리.
scripts/category-code.shcategoryCode23-level cat1/cat2/cat3 service-classification tree.
scripts/area.shareaBasedList2Browse content by area / sigungu / contentType / category.
scripts/nearby.shlocationBasedList2Radius search (≤20 km) from a (lng, lat) point.
scripts/search.shsearchKeyword2Keyword search with optional area/category filters.
scripts/festival.shsearchFestival2Festivals/events overlapping a date window.
scripts/stay.shsearchStay2Lodging-only browse (hotels, motels, pensions, hanok stays).
scripts/detail.shdetailCommon2 + detailIntro2 + detailInfo2 + detailImage2One-shot full record for a contentId.

All output is JSONL — one row per item — so it pipes directly into jq, csvkit, pandas, or downstream skills.

When to use this skill

  • Trip planning agents — "build me a 3-day Gangneung itinerary" → area --area-code 32 --sigungu-code 1 + nearby --lng <h1> --lat <h1> + festival --start 20260601.
  • Festival calendarsfestival --start YYYYMMDD --end YYYYMMDD → JSONL → cal.json.
  • K-content blogs / videossearch --keyword 강릉 then detail --content-id <id> --include-images for hero imagery + descriptions.
  • Nearby-X discovery on maps — feed Kakao map taps into nearby --lng X --lat Y --content-type-id 39 to surface restaurants.
  • Government/NGO grounded answers — TourAPI is curated by KTO; use it when you need authoritative tourism facts, not crowd-sourced.

Do not use this skill for

  • Real-time prices, availability, bookings — TourAPI is a *content directory*, not a reservation API. Pair with stay-platform APIs (야놀자, 여기어때, Booking.com) for live inventory.
  • User reviews / ratings — TourAPI does not expose review counts. Use Naver Place / Kakao Map APIs.
  • English / non-KR languages — this skill targets KorService2. KTO publishes parallel EngService2 / ChsService2 / JpnService2 / GerService2 / FreService2 / SpnService2 / RusService2 endpoints; not in this skill yet.
  • High-throughput public-facing apps without quota — the dev-tier ceiling is 1,000 req/day. Apply for production tier on data.go.kr.

Prerequisites

  1. Register at <https://www.data.go.kr/> (Korean OpenData portal, free, no business required).
  2. Apply for "한국관광공사_국문 관광정보 서비스_GW" (TourAPI 4.0 / KorService2). Approval is automatic for the dev tier.
  3. Copy your Decoding key (the raw, *not* URL-encoded form) and export:
   export TOURAPI_SERVICE_KEY='your_decoded_key_here'
  1. Optional overrides:
   export TOURAPI_BASE='https://apis.data.go.kr/B551011/KorService2'
   export TOURAPI_MOBILE_OS='ETC'             # ETC|AND|IOS|WIN|WEB
   export TOURAPI_MOBILE_APP='your-app-name'  # any short identifier
  1. Dependencies: bash, curl, jq (default on macOS / standard Linux).

Reference codes

contentTypeId (used in --content-type-id):

IDTypeIDType
12관광지28레포츠
14문화시설32숙박
15축제공연행사38쇼핑
25여행코스39음식점

Top-level areaCode (run area-code.sh for fresh sigungu codes):

CodeRegionCodeRegionCodeRegion
1서울32강원도6부산
2인천33충청북도7대구
31경기도34충청남도8광주
35경상북도36경상남도9대전
37전라북도38전라남도10울산
39제주특별자치도11세종특별자치시

(Full canonical list always: bash scripts/area-code.sh.)

Top-level cat1: A01=자연 / A02=인문(문화/예술/역사) / A03=레포츠 / A04=쇼핑 / A05=음식 / B02=숙박 / C01=추천코스.

Examples

Browse 관광지 in 강릉

bash scripts/area.sh --area-code 32 --sigungu-code 1 --content-type-id 12 --num 10

Find 음식점 within 500 m of 경복궁 (lng 126.9770, lat 37.5797)

bash scripts/nearby.sh --lng 126.9770 --lat 37.5797 --radius 500 --content-type-id 39

Festival list for May 2026 in Jeju

bash scripts/festival.sh --start 20260501 --end 20260531 --area-code 39

Keyword search for "한옥" stays

bash scripts/search.sh --keyword 한옥 --content-type-id 32 --num 30

Full record (with images) for 경복궁 (contentId 264432)

bash scripts/detail.sh --content-id 264432 --content-type-id 14 --include-images

Ten-day Korea festival calendar for content automation

START=$(date -u +%Y%m%d)
END=$(date -u -v+10d +%Y%m%d 2>/dev/null || date -u -d "+10 days" +%Y%m%d)
bash scripts/festival.sh --start "$START" --end "$END" --num 100 \
  | jq -r '[.title, .eventstartdate, .eventenddate, .addr1] | @tsv'

Field naming

TourAPI returns lowercase field names without delimiters (e.g. mapx, mapy, addr1, addr2, firstimage, firstimage2, tel, eventstartdate, eventenddate, dist). The CLI passes these through verbatim so downstream pipelines keep schema parity with TourAPI's published spec.

Errors

  • exit 64 — bad CLI input (missing required flag, invalid date, unknown contentTypeId).
  • exit 78TOURAPI_SERVICE_KEY env var missing.
  • exit 22 — TourAPI returned non-2xx, an XML error envelope, or resultCode != "0000". The full body is echoed to stderr.
  • exit 127 — required binary (curl, jq) not on PATH.

Pairs with

  • juso-address-cli — resolve raw addr1 → 우편번호 + 행정동 코드.
  • kakao-local-cli — drop mapx/mapy directly onto Kakao Maps.
  • kr-holiday-cli — overlay legal holidays onto the festival calendar.
  • naver-papago-translate — localize titles/overviews for non-KR users.
  • tistory-api-cli / velog-cli — publish the rendered itinerary.
  • kosis-cli / bank-of-korea-ecos-cli — overlay tourism volume / FX context for travel-economics posts.

License

MIT-0. Data is © 한국관광공사 / 공공데이터포털 — credit per data.go.kr terms when republishing.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

95.47%
按下载量换算429

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install kto-tourapi-cli 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills