with Venly (NFT API) and Neon Postgres?
Emit new event when a new column is added to a table. See the documentation
Emit new event when a row is added or modified. See the documentation
Emit new event when a new row is added to a table. See the documentation
Emit new event when new rows are returned from a custom query that you provide. See the documentation
Emit new event when a new table is added to the database. See the documentation
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
Finds a row in a table via a lookup column. See the documentation
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}`,
},
})
},
})
import { axios } from "@pipedream/platform";
import { neon } from "@neondatabase/serverless";
export default defineComponent({
props: {
neon_postgres: {
type: "app",
app: "neon_postgres",
}
},
async run({ steps, $ }) {
const { host, port, user, password, database } = this.neon_postgres.$auth
const connectionString = `postgresql://${user}:${password}@${host}:${port}/${database}`
const sql = neon(connectionString)
const result = await sql`SELECT version()`
const { version } = result[0]
return version
},
})