Enhance your business with our all-in-one school management software.
Creates a new prospect inside Teach 'n Go. See the documentation
Registers a new student in Teach 'n Go. See the documentation
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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})