Integrate the Vercel API with the Kaggle API

Setup the Vercel API trigger to run a workflow which integrates with the Kaggle API. Pipedream’s integration platform allows you to integrate Vercel and Kaggle remarkably fast. Free for developers.

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.vercel.com/www/user`,
  headers: {
    Authorization: `Bearer ${auths.vercel.oauth_access_token}`,
  },
})
return await require("@pipedreamhq/platform").axios(this, {
  url: `https://www.kaggle.com/api/v1/datasets/list`,
  auth: {
    username: `${auths.kaggle.username}`,
    password: `${auths.kaggle.api_key}`,
  },
  params: {
    "": ``,
  },
})

Read more here: Source link