with OpenSea and Dungeon Fighter Online?
Emit new filtered events for a collection. See the documentation
The OpenSea API provides a plethora of endpoints that lets you tap into the rich world of NFTs. From fetching detailed asset information to looking up user-specific items, the possibilities for crafting custom Pipedream workflows are vast. This allows you to automate alerts, synchronize NFT collections with external databases, or even analyze market trends programmatically.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
opensea: {
type: "app",
app: "opensea",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.opensea.io/api/v2/collections/boredapeyachtclub/stats`,
headers: {
"X-API-KEY": `${this.opensea.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dungeon_fighter_online: {
type: "app",
app: "dungeon_fighter_online",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.dfoneople.com/df/servers`,
params: {
apikey: `${this.dungeon_fighter_online.$auth.api_key}`,
},
})
},
})