with JW Player and Harmonic?
Emit new event when a new media conversion is completed or a media becomes available.
Creates a new media file in JW Player using fetch or external upload methods. See the documentation
Searches for a media or lists all media available in JW Player. See the documentation
The JW Player API offers a way to manage and deliver video content programmatically. On Pipedream, you can leverage this API to automate video publishing workflows, analyze viewer data, and integrate with other services. Creating, updating, and managing video metadata can be automated, as well as handling video transcoding jobs and analyzing performance with custom metrics. By tapping into Pipedream's serverless platform, you can build powerful automations without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jw_player: {
type: "app",
app: "jw_player",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.jwplayer.com/v2/sites/{{your_site_id}}/media/`,
headers: {
"Authorization": `${this.jw_player.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
The Harmonic API offers machine learning-driven insights for sales and customer interactions. By analyzing communication data, it can provide actionable insights, such as customer sentiment, engagement, and overall sales performance. When leveraged within Pipedream, the Harmonic API enables the automation of workflows that can enhance CRM activities, tailor customer outreach, and streamline sales processes. With Pipedream's capacity for integrating various apps, the data processed by the Harmonic API can trigger actions across multiple platforms, enriching customer profiles, automating alerts, and synchronizing with marketing efforts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
harmonic: {
type: "app",
app: "harmonic",
}
},
async run({steps, $}) {
const data = {
"apikey": `${this.harmonic.$auth.apikey}`,
"website_domain": `harmonic.ai`,
}
return await axios($, {
method: "post",
url: `https://api.harmonic.ai/companies`,
headers: {
"apikey": `${this.harmonic.$auth.apikey}`,
"website_domain": `harmonic.ai`,
},
params: {
apikey: `${this.harmonic.$auth.apikey}`,
website_domain: `harmonic.ai`,
},
data,
})
},
})