import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
csvbox: {
type: "app",
app: "csvbox",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.csvbox.io/1.1/auth`,
headers: {
"x-csvbox-api-key": `${this.csvbox.$auth.api_key}`,
"x-csvbox-secret-api-key": `${this.csvbox.$auth.secret_api_key}`,
},
})
},
})
Emit new event when CSVBox receives and processes a new import. See documentation
Submit a spreadsheet file via public URL or local file path to CSVBox for processing. See documentation
CSVbox uses API keys for authentication. When you connect your CSVbox account, Pipedream securely stores the keys so you can easily authenticate to CSVbox APIs in both code and no-code steps.