Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@kassellabs/corellia-api
Advanced tools
This module provides easy access to Corellia's API to request and manage video rendering.
npm i --save @kassellabs/corellia-api
First you should get your Corellia API Client ID and Client Secret, then you can start using this project by instantiating the main class
import CorelliaAPI from '@kassellabs/corellia-api';
const api = new CorelliaAPI({
clientId: '< your corellia client id >',
clientSecret: '< your corellia client secret >',
});
You can also specify a different API endpoint via host
param on the constructor.
After that you can start calling the main methods:
Requests a new video to be rendered based on a custom JSON
const videoRequest = await api.requestNewVideo(customJSON);
// Example:
//
// {
// "lastModified":"2020-01-24T18:08:13.654Z",
// "userId":"XXXX",
// "actions":[
// ...,
// ],
// "templateId":"my-template-id",
// "customJSON":{
// "videoURL":"<my-video-url>",
// "timeToBeContinued":9.731636028610229,
// "videoStartAt":0,
// "videoEndAt":14.731636028610229
// },
// "renderJob":{
// "state":"started",
// "downloadURL":null
// },
// "id":"IIIIIIIIIIIIII"
// }
Retrieve a list of all requestd videos so far
const videoRequests = await api.getAllVideoRequests(customJSON);
// Example:
//
// [{
// "lastModified":"2020-01-24T18:08:13.654Z",
// "userId":"XXXX",
// "actions":[
// ...,
// ],
// "templateId":"my-template-id",
// "customJSON":{
// "videoURL":"<my-video-url>",
// "timeToBeContinued":9.731636028610229,
// "videoStartAt":0,
// "videoEndAt":14.731636028610229
// },
// "renderJob":{
// "state":"started",
// "downloadURL":null
// },
// "id":"IIIIIIIIIIIIII"
// }, ...]
Retrieve the status of a already created videoRequest
const videoRequest = await api.getVideoRequest('<your-video-request-id>');
// Example:
//
// {
// "lastModified":"2020-01-24T18:08:13.654Z",
// "userId":"XXXX",
// "actions":[
// ...,
// ],
// "templateId":"my-template-id",
// "customJSON":{
// "videoURL":"<my-video-url>",
// "timeToBeContinued":9.731636028610229,
// "videoStartAt":0,
// "videoEndAt":14.731636028610229
// },
// "renderJob":{
// "state":"started",
// "downloadURL":null
// },
// "id":"IIIIIIIIIIIIII"
// }
Remove a specific video request
const { success } = await api.deleteVideoRequest('<your-video-request-id>');
// success === true -> deleted
// success === false -> not deleted
FAQs
Corellia's External API to render After Effects Videos
The npm package @kassellabs/corellia-api receives a total of 0 weekly downloads. As such, @kassellabs/corellia-api popularity was classified as not popular.
We found that @kassellabs/corellia-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.