with Mslm Cloud and Adobe Photoshop Lightroom?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mslm_cloud: {
type: "app",
app: "mslm_cloud",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://mslm.io/api/sv/v1`,
params: {
apikey: `${this.mslm_cloud.$auth.api_key}`,
email: `support@mslm.io`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
adobe_photoshop_lightroom: {
type: "app",
app: "adobe_photoshop_lightroom",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://lr.adobe.io/v2/account`,
headers: {
Authorization: `Bearer ${this.adobe_photoshop_lightroom.$auth.oauth_access_token}`,
"x-api-key": `${this.adobe_photoshop_lightroom.$auth.oauth_client_id}`,
"accept": `application/json`,
},
})
},
})