Content optimization with semantic SEO.
Launches a new query based on provided keyword, search engine, and language. See the documentation
Pulls the most recent revision of the content saved for a specific query. See the documentation
Fetches the data related to a pre-defined query. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
neuronwriter: {
type: "app",
app: "neuronwriter",
}
},
async run({steps, $}) {
const data = {
"project": `${this.neuronwriter.$auth.project_id}`,
}
return await axios($, {
method: "post",
url: `https://app.neuronwriter.com/neuron-api/0.5/writer/list-queries`,
headers: {
"X-API-KEY": `${this.neuronwriter.$auth.api_key}`,
},
data,
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})