with OpenRouter and Grab Your Reviews?
Returns a list of models available through the API. See the documentation
Send a chat completion request to a selected model. See the documentation
Send a completion request to a selected model (text-only format) See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
openrouter: {
type: "app",
app: "openrouter",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://openrouter.ai/api/v1/parameters/openai/o1`,
headers: {
Authorization: `Bearer ${this.openrouter.$auth.api_key}`,
},
params: {
provider: `OpenAI`,
},
})
},
})
The Grab Your Reviews API opens a door to collect and manage customer feedback from multiple review platforms. It offers programmatic access to manipulate and retrieve reviews, respond to customer feedback, and analyze sentiment across different services. Within Pipedream, you can seamlessly integrate these capabilities into workflows, triggering actions based on new reviews, syncing data across databases or CRMs, and deriving insights by connecting to analytics tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
grab_your_reviews: {
type: "app",
app: "grab_your_reviews",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.grabyourreviews.com/profile_list`,
headers: {
"Content-Type": `application/json`,
},
params: {
api_token: `${this.grab_your_reviews.$auth.access_key}`,
},
})
},
})