BrandMentions is the most effective method of monitoring your brand or product on the Internet.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
brandmentions: {
type: "app",
app: "brandmentions",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.brandmentions.com/command.php`,
params: {
command: `ListProjects`,
api_key: `${this.brandmentions.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})