with Perigon and LINE Messaging API?
The Perigon API enables the creation and management of complex data relationships, allowing for the automation of data-driven processes. With this API, you can streamline data synchronization, manage master data, and enhance business intelligence by connecting Perigon's data capabilities with various apps and services. Automating workflows with the Perigon API on Pipedream can lead to increased efficiency by reducing manual data handling, ensuring data accuracy, and providing actionable insights through connected systems.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
perigon: {
type: "app",
app: "perigon",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.goperigon.com/v1/all`,
params: {
apiKey: `${this.perigon.$auth.apiKey}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
line_messaging_api: {
type: "app",
app: "line_messaging_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.line.me/v2/bot/info`,
headers: {
Authorization: `Bearer ${this.line_messaging_api.$auth.long_lived_channel_access_token}`,
},
})
},
})