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,
})
},
})
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
NEURONWriter uses API keys for authentication. When you connect your NEURONWriter account, Pipedream securely stores the keys so you can easily authenticate to NEURONWriter APIs in both code and no-code steps.