import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
teach_n_go: {
type: "app",
app: "teach_n_go",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.teachngo.com/globalApis/student_list`,
headers: {
"X-API-KEY": `${this.teach_n_go.$auth.api_key}`,
},
})
},
})
Creates a new prospect inside Teach 'n Go. See the documentation
Registers a new student in Teach 'n Go. See the documentation
Teach 'n Go uses API keys for authentication. When you connect your Teach 'n Go account, Pipedream securely stores the keys so you can easily authenticate to Teach 'n Go APIs in both code and no-code steps.