Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation.
Emit new event when a new version of an npm package is published. See the documentation
Emit new event when a query is marked as 'done', indicating content is ready for publication.
Emit new event when a query is processed by NeuronWriter API and results are ready.
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,
})
},
})