World News API

The World News API gives you access to thousands of news sources in over 50 languages from over 150 countries.

Integrate the World News API API with the Discord API

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

Extract News with World News API API on New Message (Instant) from Discord API
Discord + World News API
 
Try it
Get Geo Coordinates with World News API API on New Message (Instant) from Discord API
Discord + World News API
 
Try it
Search News with World News API API on New Message (Instant) from Discord API
Discord + World News API
 
Try it
Extract News with World News API API on Message Deleted (Instant) from Discord API
Discord + World News API
 
Try it
Extract News with World News API API on New Command Received (Instant) from Discord API
Discord + World News API
 
Try it
New Message (Instant) from the Discord API

Emit new event for each message posted to one or more channels in a Discord server

 
Try it
Message Deleted (Instant) from the Discord API

Emit new event for each message deleted

 
Try it
Published News from the World News API API

Emit new event whenever recent news are published. Calling this endpoint requires 1 point per page, up to 1000 news. See the docs here

 
Try it
New Command Received (Instant) from the Discord API

Emit new event for each command posted to one or more channels in a Discord server

 
Try it
New Guild Member (Instant) from the Discord API

Emit new event for each new member added to a guild

 
Try it
Extract News with the World News API API

Extract a news article from a website to a well structure JSON object. See the docs here. Calling this endpoint requires 1 point, plus 2 points if analyze is true.

 
Try it
Get Geo Coordinates with the World News API API

Retrieve the latitude and longitude of a location name. See the docs here. Calling this endpoint requires 1 point.

 
Try it
Search News with the World News API API

Search and filter news. See the docs here. Calling this endpoint requires 1 point

 
Try it
Send Message with the Discord API

Send a simple message to a Discord channel

 
Try it
Send Message (Advanced) with the Discord API

Send a simple or structured message (using embeds) to a Discord channel

 
Try it

Connect World News API

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    world_news_api: {
      type: "app",
      app: "world_news_api",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.worldnewsapi.com/search-news`,
      params: {
        "api-key": `${this.world_news_api.$auth.api_key}`,
        text: `{your_text}`,
      },
    })
  },
})

Overview of Discord

The Pipedream Discord app enables you to build event-driven workflows that interact with the Discord API. When you authorize the Pipedream app's access to your guilds, you can use Pipedream workflows to perform common Discord actions, or write your own code against the Discord API.

Connect Discord

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    discord: {
      type: "app",
      app: "discord",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://discord.com/api/users/@me`,
      headers: {
        Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
        "accept": `application/json`,
      },
    })
  },
})