with Labs64 NetLicensing and OpenRouter?
Returns a list of models available through the API. See the documentation
Send a chat completion request to a selected model. See the documentation
Send a completion request to a selected model (text-only format) See the documentation
The Labs64 NetLicensing API is a sophisticated software licensing service that enables you to manage product licenses and configurations seamlessly. Using Pipedream, you can tap into this power to automate license creation, validation, and tracking. This enables you to integrate licensing operations into your sales, deployment, and customer support workflows, ensuring consistent and automated management of software licenses across customer lifecycles.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
labs64_netlicensing: {
type: "app",
app: "labs64_netlicensing",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://go.netlicensing.io/core/v2/rest/product`,
headers: {
"Accept": `application/json`,
},
auth: {
username: `apiKey`,
password: `${this.labs64_netlicensing.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
openrouter: {
type: "app",
app: "openrouter",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://openrouter.ai/api/v1/parameters/openai/o1`,
headers: {
Authorization: `Bearer ${this.openrouter.$auth.api_key}`,
},
params: {
provider: `OpenAI`,
},
})
},
})