Skip to content

OpenWeatherMap 凭证#

¥OpenWeatherMap credentials

你可以使用以下凭据验证以下节点:

¥You can use these credentials to authenticate the following nodes:

支持的身份验证方法#

¥Supported authentication methods

  • API 访问令牌

¥API access token

相关资源#

¥Related resources

有关服务的更多信息,请参阅 OpenWeatherMap API 文档

¥Refer to OpenWeatherMap's API documentation for more information about the service.

使用 API 访问令牌#

¥Using API access token

要配置此凭据,你需要一个 OpenWeatherMap 账户以及:

¥To configure this credential, you'll need an OpenWeatherMap account and:

  • 访问令牌

¥An Access Token

获取访问令牌:

¥To get your Access Token:

  1. 验证你的电子邮件地址后,OpenWeatherMap 会在欢迎邮件中包含一个 API 密钥。

¥After you verify your email address, OpenWeatherMap includes an API Key in your welcome email. 2. 从 API 凭据部分复制 API 密钥(真实),并将其输入到你的 n8n 凭据中。

¥Copy that key and enter it in your n8n credential.

如果你希望创建一个新键:

¥If you'd prefer to create a new key:

  1. 要创建新密钥,请转到“账户”>“API 密钥”。

¥To create a new key, go to Account > API Keys. 2. 在“创建密钥”部分,输入 API 密钥名称,例如 n8n integration

¥In the Create Key section, enter an API Key Name, like n8n integration. 3. 选择“生成”以生成你的密钥。

¥Select Generate to generate your key. 4. 复制生成的密钥并将其输入到你的 n8n 凭据中。

¥Copy the generated key and enter it in your n8n credential.