Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation.
Emit new event when a new version of an npm package is published. See the documentation
Emit new event when a file is uploaded/updated. See the documentation
Creates a new item based on the specified type. See the documentation
Searches for an item in the system using the item type as the filtering criteria. See the documentation
Updates the details of an existing item based on its type. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rentman: {
type: "app",
app: "rentman",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rentman.net/contacts`,
headers: {
Authorization: `Bearer ${this.rentman.$auth.api_token}`,
"Content-Type": `application/json`,
},
})
},
})