with Booqable and IPinfo.io?
Emits a new event anytime there is a new customer. See the documentation
Emits an event when an order changes status to reserved in Booqable. See the documentation
Updates the details of an existing customer in Booqable. See the documentation
The Booqable API provides programmatic access to rental shop functions such as inventory management, orders, and customers. Within Pipedream, you can leverage this API to automate tasks, sync data across platforms, and create custom workflows. The API's endpoints allow you to programmatically check item availability, manage bookings, and update customer information, making it suitable for integrating with a wide range of other apps and services to streamline operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
booqable: {
type: "app",
app: "booqable",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.booqable.$auth.company_slug}.booqable.com/api/1/customers`,
params: {
api_key: `${this.booqable.$auth.api_key}`,
page: `1`,
per: `1`,
},
})
},
})
IPinfo.io API offers a fast and simple way to gather IP address data, such as geolocation, ISP details, and more. When used within Pipedream, this API becomes a powerful tool to enrich data workflows, trigger location-based actions, and analyze web traffic. With Pipedream's serverless platform, you can easily integrate IPinfo.io with numerous apps to create custom automations without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ipinfo_io: {
type: "app",
app: "ipinfo_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ipinfo.io/8.8.8.8`,
headers: {
Authorization: `Bearer ${this.ipinfo_io.$auth.api_token}`,
},
})
},
})