with Venly (NFT API) and SmugMug?
Creates a template or token type that allows for minting of new NFTs. See the documentation
Deploys a new NFT contract, or collection, on a specific blockchain. See the documentation
Gets details of the authenticated user. See the docs here
The Venly (NFT API) provides a platform for managing and integrating Non-Fungible Tokens (NFTs) into applications. With this API, you can create and manage wallets, mint and transfer NFTs, and query blockchain data, among other features. Leveraging the Venly API within Pipedream allows developers to streamline NFT operations by creating automated workflows, connecting to other services, and processing blockchain events in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
venly: {
type: "app",
app: "venly",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.venly.$auth.service_environment}/api/env`,
headers: {
Authorization: `Bearer ${this.venly.$auth.oauth_access_token}`,
},
})
},
})
The SmugMug API provides programmatic access to a user's SmugMug account, allowing them to manage photos, albums, and account settings. With Pipedream, you can automate tasks such as uploading new images, synchronizing photo galleries with other platforms, or triggering actions based on account activity. The API's capabilities paired with Pipedream's serverless platform enable you to craft custom workflows that react to events in SmugMug or orchestrate tasks across multiple apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smugmug: {
type: "app",
app: "smugmug",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.smugmug.com/api/v2!authuser`,
headers: {
"Accept": `application/json`,
},
}, {
token: {
key: this.smugmug.$auth.oauth_access_token,
secret: this.smugmug.$auth.oauth_refresh_token,
},
oauthSignerUri: this.smugmug.$auth.oauth_signer_uri,
})
},
})