Powerful, intuitive, and cloud-based structural engineering software & API technology. Designed to streamline your design workflow and maximize efficiency.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
SkyCiv API offers engineering analysis and design capabilities within the cloud, allowing structural calculations and manipulations over the web. By integrating SkyCiv with Pipedream, users can automate complex engineering workflows, connect with other apps for enhanced data handling, and trigger actions based on structural analysis results. This seamless integration facilitates real-time decision-making and can significantly streamline operations in construction, architecture, and engineering projects.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
skyciv: {
type: "app",
app: "skyciv",
}
},
async run({steps, $}) {
const data = {
"auth": {
"username": `${this.skyciv.$auth.email}`,
"key": `${this.skyciv.$auth.api_key}`
},
"functions": [
{
"function": "S3D.session.start",
"arguments": {}
},
{
"function": "S3D.model.script",
"arguments": {
"script": "API_RETURN_DATA = S3D.info.user;"
}
}
]
}
return await axios($, {
method: "post",
url: `https://api.skyciv.com:8085/v3`,
data,
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})