360 Secure SkillHub
360 安全技能中心

Lap Airport City Search

该 Skill 封装 Airport & City Search 参考数据 API,声明无需认证,提供两个 GET 端点:按关键词匹配返回机场与城市列表,以及按 locationId 查询单个位置详情。参数表与响应结构依赖 references/api-spec.lap,但该文件未随包提供,需借助 lapsh 命令获取。

mickmicksh
mickmicksh
热度 47.28
最近更新 2026-05-11 09:58:20
分类:搜索依赖:第三方 API / 代码执行应用场景:API 集成 / 旅行

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add lap-airport-city-search
Metadata
name
lap-airport-city-search
description
Airport & City Search API skill. Use when working with Airport & City Search for reference-data. Covers 2 endpoints.
version
1.0.0
generator
lapsh

Airport & City Search

API version: 1.2.3

Auth

No authentication required.

Base URL

https://test.api.amadeus.com/v1

Setup

  1. No auth setup needed
  2. GET /reference-data/locations -- verify access

Endpoints

2 endpoints across 1 groups. See references/api-spec.lap for full details.

reference-data

Method Path Description
GET /reference-data/locations Returns a list of airports and cities matching a given keyword.
GET /reference-data/locations/{locationId} Returns a specific airports or cities based on its id.

Common Questions

Match user requests to endpoints in references/api-spec.lap. Key patterns:

  • "List all locations?" -> GET /reference-data/locations
  • "Get location details?" -> GET /reference-data/locations/{locationId}

Response Tips

  • Check response schemas in references/api-spec.lap for field details

CLI

# Update this spec to the latest version
npx @lap-platform/lapsh get airport-city-search -o references/api-spec.lap

# Search for related APIs
npx @lap-platform/lapsh search airport-city-search

References

  • Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

Generated from the official API spec by LAP