Vercel is the platform for frontend developers, providing the speed and reliability innovators need to create at the moment of inspiration.
List deployments under the account corresponding to the API token. See the docs
Vercel provides an API that allows you to authenticate users and manage access
to your applications and services. With the Vercel API, you can easily build
an array of applications, from complete single-page applications to scalable
applications and services. Here are a few examples of what you can build with
Vercel's API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vercel_token_auth: {
type: "app",
app: "vercel_token_auth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.vercel.com/www/user`,
headers: {
Authorization: `Bearer ${this.vercel_token_auth.$auth.personal_access_token}`,
},
})
},
})
With the Kaggle API, you can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kaggle: {
type: "app",
app: "kaggle",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.kaggle.com/api/v1/datasets/list`,
auth: {
username: `${this.kaggle.$auth.username}`,
password: `${this.kaggle.$auth.api_key}`,
},
params: {
"": ``,
},
})
},
})