Loading...
Loading...
Compare original and translation side by side
membranenpm install -g @membranehq/climembranenpm install -g @membranehq/climembrane login --tenantmembrane login complete <code>membrane login --tenantmembrane login complete <code>membrane search google-maps --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane search google-maps --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane connection list --jsonconnectionIdmembrane connection list --jsonconnectionIdmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --jsonmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --json| Name | Key | Description |
|---|---|---|
| Get Place Photo | get-place-photo | Get a photo URL for a place using a photo reference from place details |
| Get Static Map | get-static-map | Generate a static map image URL for a given location with optional markers and styling |
| Get Distance Matrix | get-distance-matrix | Calculate travel distance and time between multiple origins and destinations |
| Get Directions | get-directions | Get directions between two or more locations with step-by-step instructions |
| Place Autocomplete | place-autocomplete | Get place predictions as user types, for building autocomplete functionality |
| Get Place Details | get-place-details | Get detailed information about a specific place by its place ID |
| Search Nearby Places | search-nearby-places | Search for places within a specified area around a given location |
| Search Places | search-places | Search for places using a text query (e.g., "pizza in New York" or "shoe stores near Ottawa") |
| Get Elevation | get-elevation | Get elevation data for one or more locations on the earth |
| Get Timezone | get-timezone | Get timezone information for a specific location and timestamp |
| Reverse Geocode | reverse-geocode | Convert geographic coordinates (latitude and longitude) into a human-readable address |
| Geocode Address | geocode-address | Convert a street address into geographic coordinates (latitude and longitude) |
| 名称 | 键名 | 描述 |
|---|---|---|
| 获取地点照片 | get-place-photo | 使用地点详情中的照片引用获取该地点的照片URL |
| 获取静态地图 | get-static-map | 生成指定位置的静态地图图片URL,支持添加可选标记和自定义样式 |
| 获取距离矩阵 | get-distance-matrix | 计算多个起点和终点之间的出行距离和耗时 |
| 获取路线 | get-directions | 获取两个或多个地点之间的路线,附带分步导航指引 |
| 地点自动补全 | place-autocomplete | 在用户输入时返回地点预测结果,用于构建自动补全功能 |
| 获取地点详情 | get-place-details | 通过地点ID获取特定地点的详细信息 |
| 搜索附近地点 | search-nearby-places | 在指定位置的周边区域内搜索地点 |
| 搜索地点 | search-places | 使用文本查询搜索地点(例如「纽约的披萨店」或「渥太华附近的鞋店」) |
| 获取海拔 | get-elevation | 获取地球上一个或多个位置的海拔数据 |
| 获取时区 | get-timezone | 获取指定位置和时间戳对应的时区信息 |
| 逆地理编码 | reverse-geocode | 将地理坐标(纬度和经度)转换为人类可读的地址 |
| 地址地理编码 | geocode-address | 将街道地址转换为地理坐标(纬度和经度) |
membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane request CONNECTION_ID /path/to/endpoint| Flag | Description |
|---|---|
| HTTP method (GET, POST, PUT, PATCH, DELETE). Defaults to GET |
| Add a request header (repeatable), e.g. |
| Request body (string) |
| Shorthand to send a JSON body and set |
| Send the body as-is without any processing |
| Query-string parameter (repeatable), e.g. |
| Path parameter (repeatable), e.g. |
membrane request CONNECTION_ID /path/to/endpoint| 标志 | 描述 |
|---|---|
| HTTP方法(GET, POST, PUT, PATCH, DELETE),默认值为GET |
| 添加请求头(可重复使用),例如 |
| 请求体(字符串) |
| 发送JSON请求体并设置 |
| 按原样发送请求体,不做任何处理 |
| 查询字符串参数(可重复使用),例如 |
| 路径参数(可重复使用),例如 |
membrane action list --intent=QUERYmembrane action list --intent=QUERY