with SwaggerHub and Judge.me?
Emit new event when a new review is posted. See the documentation
Emit new event for every created version of a specific API. See the docs here
Create a private reply for a review, on behalf of the shop. Private replies are not shown on the widgets, but can be emailed to the reviewers. See the documentation
Create a public reply for a review on behalf of the shop. Public replies are shown publicly on the widgets. See the documentation
The SwaggerHub API offers capabilities to streamline working with your Swagger (OpenAPI) definitions within SwaggerHub. On Pipedream, you can automate interactions with the SwaggerHub API to keep APIs in sync, manage your API versions, and integrate your API design workflow with other tools and services. Leverage Pipedream's serverless platform to create, update, and share your SwaggerHub API definitions across different environments or teams efficiently.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
swaggerhub: {
type: "app",
app: "swaggerhub",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.swaggerhub.com/user-management/v1/orgs/{your_org_name}/members`,
headers: {
"Authorization": `${this.swaggerhub.$auth.api_key}`,
},
params: {
limit: `10`,
},
})
},
})
The Judge.me API lets you tap into a rich repository of product review data, enabling you to automate the gathering, moderation, and publication of reviews on your store. You can also trigger actions based on review events, like thanking a customer after they leave a positive review or addressing negative feedback promptly. With Pipedream's serverless platform, you can craft workflows to interact with other apps, streamline processes, and react to review-related activities in real-time, without writing any backend code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
judge_me: {
type: "app",
app: "judge_me",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://judge.me/api/v1/reviews`,
params: {
api_token: `${this.judge_me.$auth.oauth_access_token}`,
shop_domain: `${this.judge_me.$auth.shop_domain}`,
},
})
},
})