DarkSky API

Wweather forecasts and historical weather data

Go to site

Integrate the DarkSky API API with the Discord Webhook API

Setup the DarkSky API API trigger to run a workflow which integrates with the Discord Webhook API. Pipedream's integration platform allows you to integrate DarkSky API and Discord Webhook remarkably fast. Free for developers.

Send Message to Channel

Send a message to the channel tied to your incoming webhook. At least one of message OR embeds is required.

 
Try it

Connect DarkSky API

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.darksky.net/forecast/${auths.darksky_api.secret_key}/37.8267,-122.4233`,
})

Connect Discord Webhook

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://discord.com/api/users/@me`,
  headers: {
    Authorization: `Bearer ${auths.discord_webhook.oauth_access_token}`,
  },
})