Supernotes is your new home for ideas, records, tasks, and lists. Enjoy efficient note-taking without the hassle.
Create a single card with the minimum amount of data required. See docs here.
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
supernotes: {
type: "app",
app: "supernotes",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.supernotes.app/v1/profiles/`,
headers: {
"Api-Key": `${this.supernotes.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})