with Nasdaq Data Link (Time Series and Table data) and Discord?
The Nasdaq Data Link API provides access to financial, economic, and alternative data that powers investment decisions, research, and more. Within Pipedream, you can use this API to automate workflows involving time series and table data. This might include fetching stock prices, economic indicators, or data for quantitative analysis. By creating workflows that trigger on schedules or events, you can efficiently process and act upon this data. Combine it with other apps to gain insights, notify stakeholders, or integrate with your databases.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nasdaq_data_link_time_series_and_table_data_: {
type: "app",
app: "nasdaq_data_link_time_series_and_table_data_",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://data.nasdaq.com/api/v3/datatables/ETFG/FUND.json`,
params: {
api_key: `${this.nasdaq_data_link_time_series_and_table_data_.$auth.api_key}`,
},
})
},
})
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`,
},
})
},
})