with Discord and Trawlingweb?
Search for news based on the specified search parameters. See the documentation
Send a simple or structured message (using embeds) to a Discord channel
The Discord API interacts seamlessly with Pipedream, empowering you to craft customized automations and workflows for your Discord server. With this powerful integration, you can automate tasks like message posting, user management, and notifications, based on a myriad of triggers and actions from different apps. These automations can enhance the Discord experience for community moderators and members, by synchronizing with external tools, organizing community engagement, and streamlining notifications.
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`,
},
})
},
})
The Trawlingweb API lets you access real-time data from across the web. By integrating with Pipedream, you can automate web monitoring tasks, analyze trends, and react to content changes without manual oversight. Pipedream's serverless platform allows for seamless integration with Trawlingweb, enabling you to create workflows that can, for instance, trigger on specific API responses, process the data, and connect with multiple other services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
trawlingweb: {
type: "app",
app: "trawlingweb",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.trawlingweb.com`,
params: {
token: `${this.trawlingweb.$auth.api_token}`,
"q": `Pipedream`,
},
})
},
})