본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

traffic-data

teweitao 제작

Coding Agents & IDEs
293clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Query traffic data - real-time road conditions, traffic incidents, SCATS intersection data.

설명

이 스킬이 하는 일

Queries real-time road conditions, traffic incidents, and SCATS intersection data using Baidu Maps and Gaode Maps APIs. Three separate scripts handle road status by road name, city-wide incident listings, and per-intersection SCATS queries.

Wraps Baidu Maps, Gaode Maps, and SCATS into a single CLI interface instead of integrating each API separately.

사용 시점

  • Checking congestion on a specific road before commuting
  • Monitoring active traffic incidents across a city
  • Querying SCATS intersection signal status for traffic analysis
  • Pulling live road data into a city logistics dashboard
  • Automating traffic condition alerts for a fleet management system

예시 워크플로

입력

User asks: What is the current traffic condition on Guangzhou Avenue in Guangzhou?

에이전트
  1. 1

    Run road.js with city '广州' and road name '广州大道'

  2. 2

    Send request to Baidu Maps or Gaode Maps real-time traffic API

  3. 3

    Receive congestion level and road status data

  4. 4

    Parse and format the API response

출력

Real-time road condition report for Guangzhou Avenue including congestion status

요구 사항

  • BAIDU_MAP_KEY environment variable (Baidu Maps Open Platform account at lbsyun.baidu.com)
  • GAODE_MAP_KEY environment variable (Gaode Maps Open Platform account at lbs.amap.com)
  • SCATS_API_KEY environment variable (required only for SCATS intersection queries)

설치

clawhub install teweitao/traffic-data

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크