Skip to content

OpenWeatherMap 凭证(OpenWeatherMap credentials)#

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

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

支持的身份验证方法(Supported authentication methods)#

  • API 访问令牌

有关该服务的更多信息,请参阅 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:

  • 一个 访问令牌

获取你的 访问令牌

🌐 To get your Access Token:

  1. 在你验证电子邮件地址后,OpenWeatherMap 会在欢迎邮件中包含一个 API 密钥
  2. 从 API 凭据部分复制 API 密钥(真实),并将其输入到你的 n8n 凭据中。

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

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

  1. 要创建一个新密钥,请转到 账户 > API 密钥
  2. 创建密钥 部分,输入一个 API 密钥名称,例如 n8n integration
  3. 选择 生成 来生成你的密钥。
  4. 复制生成的密钥并将其输入到你的 n8n 凭据中。