Transforming industries with predictive scientific models. Aviation, space, defence, navigation.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The Amentum Aerospace API provides programmatic access to a suite of aerospace functionalities, such as satellite tracking, pass predictions, and atmospheric conditions. Leveraging this API, one can automate data collection for space-related projects, enhance satellite monitoring applications, or enrich educational platforms with real-time space data. Pipedream's serverless integration platform allows developers to connect the Amentum API with countless other services, creating custom workflows that can trigger actions, send notifications, or store data based on space events or conditions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
amentum_aerospace: {
type: "app",
app: "amentum_aerospace",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.amentum_aerospace.$auth.subdomain}.amentum.io/gebco`,
headers: {
"Accept": `application/json`,
"API-Key": `${this.amentum_aerospace.$auth.api_key}`,
},
params: {
latitude: `-45`,
longitude: `45`,
},
})
},
})
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
},
})