with Plain and JP Funda?
Returns the most recent and annual securities report data for the past few years. See the documentation
Returns the latest and past years of securities report data. See the documentation
The Plain API provides functionality for automating customer support tasks, such as managing conversations, customers, and team inboxes. Within Pipedream, you can leverage these features to create custom workflows that respond to events from your app or external services, triggering actions in Plain. By integrating the Plain API with Pipedream, you can enhance customer support efficiency, streamline communication, and keep customer data synchronized across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
plain: {
type: "app",
app: "plain",
}
},
async run({steps, $}) {
const data = {
"query": `query Workspace {
workspace(workspaceId: "${this.plain.$auth.workspace_id}") {
id
publicName
}
}`,
}
return await axios($, {
method: "post",
url: `https://core-api.uk.plain.com/graphql/v1`,
headers: {
Authorization: `Bearer ${this.plain.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})
The JP Funda API offers access to a wealth of financial data, including stock prices, company fundamentals, and market trends. On Pipedream, you can leverage this API to create powerful serverless workflows that automate financial analysis, track investment opportunities, and notify you of important market changes. By integrating JP Funda with other apps, you can enrich financial datasets, streamline reporting, and make data-driven decisions with ease.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jp_funda: {
type: "app",
app: "jp_funda",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.jp-funda.com/api/jp/today/`,
headers: {
"Authorization": `Token ${this.jp_funda.$auth.api_key}`,
},
})
},
})