Loading...
Loading...
Use when the user asks for nearby cheapest gas stations or 근처 가장 싼 주유소. Always ask the user's current location first, then use Kakao Map anchor resolution plus official Opinet fuel-price APIs.
npx skill4agent add nomadamas/k-skill cheap-gas-nearby현재 위치를 알려주세요. 동네/역명/랜드마크/위도·경도 중 편한 형식으로 보내주시면 근처에서 가장 싼 주유소를 찾아볼게요.휘발유 기준으로 볼까요, 경유 기준으로 볼까요? 따로 말씀 없으면 휘발유로 찾을게요.가까운 역명이나 동 이름으로 한 번만 더 알려주세요.https://k-skill-proxy.nomadamas.org/v1/opinet/around/v1/opinet/detailOPINET_API_KEYhttps://www.opinet.co.kr/user/custapi/openApiInfo.dohttps://www.opinet.co.kr/api/aroundAll.dohttps://www.opinet.co.kr/api/detailById.dohttps://www.opinet.co.kr/api/areaCode.doxyradiusprodcdB027D047B034C004K015sort=1https://m.map.kakao.com/actions/searchView?q=<query>https://place-api.map.kakao.com/places/panel3/<confirmId>aroundAll.doaroundAll.dosort=1detailById.doconst { searchCheapGasStationsByLocationQuery } = require("cheap-gas-nearby");
async function main() {
const result = await searchCheapGasStationsByLocationQuery("서울역", {
productCode: "B027",
radius: 1000,
limit: 3
});
console.log(result.anchor);
console.log(result.items);
}
main().catch((error) => {
console.error(error);
process.exitCode = 1;
});OPINET_API_KEY