mirror of
https://github.com/NomaDamas/k-skill.git
synced 2026-09-14 16:37:18 +08:00
96f0d810ef
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1.5 KiB
1.5 KiB
k-skill-proxy
0.2.0
Minor Changes
4fc0139: Add/v1/lh-notice/searchand/v1/lh-notice/detailroutes plus matchinglh-notice-searchskill. Proxies the official LH 청약 (Korea Land & Housing Corporation lease/subscription) notice API onapis.data.go.kr/B552555/lhLeaseNoticeInfo1/*, reuses the existingDATA_GO_KR_API_KEY, and keeps the user-facing credential surface empty ("불필요"). Handles the LH-specific[CMN, dsList]JSON envelope plus the standard data.go.kr XML auth-error envelope, does not cache upstream failures, and exposeslhNoticeConfiguredon/health. Closes #145.4fc0139: Add/v1/naver-news/searchroute plus matchingnaver-news-searchskill. Proxies the official Naver Search Open API news endpoint (openapi.naver.com/v1/search/news.json), reuses the existingNAVER_SEARCH_CLIENT_ID/NAVER_SEARCH_CLIENT_SECRETcredentials, and keeps the user-facing credential surface empty ("불필요"). Strips<b>highlight tags and decodes HTML entities in titles/descriptions, parses RFC822pubDateinto ISO-8601, deduplicates results by canonicalizedlink(query-param order, trailing slash, host casing and fragments are ignored; different paths or query values are preserved), caches successes for 5 minutes (failures are not cached), and exposesnaverNewsApiConfiguredon/health. The route rejectsstart + display - 1 > 1000with a400 bad_requestpreflight before calling upstream, so requests outside Naver's 1000-item search window fail fast with a clear message instead of returning empty results. Closes #143.