import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ryver: {
type: "app",
app: "ryver",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.ryver.$auth.domain}.ryver.com/api/1/odata.svc/users`,
headers: {
"Accept": `application/json`,
"Content-Type": `application/json`,
},
auth: {
username: `${this.ryver.$auth.email}`,
password: `${this.ryver.$auth.password}`,
},
})
},
})
Ryver uses API keys for authentication. When you connect your Ryver account, Pipedream securely stores the keys so you can easily authenticate to Ryver APIs in both code and no-code steps.
Ryver requires their users enter their Ryver email and password in order to connect to their API. For more info, refer to Ryver’s documentation.
Your domain is 1234
if your Ryver URL is https://1234.ryver.com/