Nasdaq Data Link is a powerful, centralized, cloud-based technology platform providing access to more than 250 trusted data sets, available via API. Search, discover and build.
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 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.
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`,
},
})
},
})