Aller au contenu
TakoAPI
Retour aux skills

traffic-data

par teweitao

Coding Agents & IDEs
293Téléchargements rapportés par clawskills.sh
0Vues
0 mention J'aimeConnecte-toi pour aimer ce skill
—Pas encore noté
Ta note

Résumé

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

Description

Ce que fait ce skill

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.

Quand l'utiliser

  • 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

Exemple de workflow

ENTRÉE

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

AGENT
  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

SORTIE

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

Prérequis

  • 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)

Installation

clawhub install teweitao/traffic-data

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens