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 Bot API

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

Extract News with World News API API on New Message in Channel from Discord Bot API
Discord Bot + World News API
 
Try it
Get Geo Coordinates with World News API API on New Message in Channel from Discord Bot API
Discord Bot + World News API
 
Try it
Search News with World News API API on New Message in Channel from Discord Bot API
Discord Bot + World News API
 
Try it
Add Role with Discord Bot API on Published News from World News API API
World News API + Discord Bot
 
Try it
Change Nickname with Discord Bot API on Published News from World News API API
World News API + Discord Bot
 
Try it
New Message in Channel from the Discord Bot API

Emit new event for each message posted to one or more channels

 
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 Forum Thread Message from the Discord Bot API

Emit new event for each forum thread message posted. Note that your bot must have the MESSAGE_CONTENT privilege intent to see the message content, see the docs here.

 
Try it
New Guild Member from the Discord Bot API

Emit new event for every member added to a guild. See docs here

 
Try it
New Thread Message from the Discord Bot API

Emit new event for each thread message posted.

 
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
Add Role with the Discord Bot API

Assign a role to a user. Remember that your bot requires the MANAGE_ROLES permission. See the docs here

 
Try it
Change Nickname with the Discord Bot API

Modifies the nickname of the current user in a guild.

 
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

Overview of World News API

The World News API provides access to news articles from around the world in real-time. With it, you can fetch the latest news by category, country, language, and keyword. In Pipedream, this powerful API integrates into workflows, allowing you to automate actions based on current events, monitor specific topics, and even enrich your applications with timely content.

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 Bot

The Discord Bot API unlocks the power to interact with Discord users and channels programmatically, making it possible to automate messages, manage servers, and integrate with other services. With Pipedream's serverless platform, you can create complex workflows that respond to events in Discord, process data, and trigger actions in other apps. This opens up opportunities for community engagement, content moderation, analytics, and more, without the overhead of managing infrastructure.

Connect Discord Bot

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