import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
l2s: {
type: "app",
app: "l2s",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.l2s.is/user/setting`,
headers: {
Authorization: `Bearer ${this.l2s.$auth.api_key}`,
},
})
},
})
Generates a shortened URL utilizing L2S capabilities. See the documentation
L2S uses API keys for authentication. When you connect your L2S account, Pipedream securely stores the keys so you can easily authenticate to L2S APIs in both code and no-code steps.