with changes.page and Formatting?
Emit new event when a new post is created. See the documentation
Get the latest post from Changes Page. See the documentation
Get the pinned post from Changes Page. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
changes_page: {
type: "app",
app: "changes_page",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.changes_page.$auth.subdomain}.changes.page/latest.json`,
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})