with The Owen Wilson Wow and UK gov Vehicle Enquiry API?
The Owen Wilson Wow API is an open-source library providing access to hundreds
of Owen Wilson's classic Wow quotes. This library is perfect for any project
that needs a pinch of Owen Wilson’s humor or a quick pick-me-up. You can
generate a unique quote with just one simple API call.
Here are some of the ideas you can build using the Owen Wilson Wow API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
owen_wilson: {
type: "app",
app: "owen_wilson",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://owen-wilson-wow-api.herokuapp.com/wows/random`,
})
},
})
The UK gov Vehicle Enquiry API provides access to key vehicle data, allowing users to retrieve information about a vehicle's make, model, color, fuel type, CO2 emissions, and more by inputting its registration number. Leveraging this API within Pipedream opens up a realm of possibilities for automating tasks related to vehicle management, compliance checks, and data aggregation for businesses in the automotive industry or for public sector uses.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
uk_gov_vehecle_enquiry_api: {
type: "app",
app: "uk_gov_vehecle_enquiry_api",
}
},
async run({steps, $}) {
const data = {
"registrationNumber": `{enter_registration_number_here}`,
}
return await axios($, {
method: "post",
url: `https://driver-vehicle-licensing.api.gov.uk/vehicle-enquiry/v1/vehicles`,
headers: {
"x-api-key": `${this.uk_gov_vehecle_enquiry_api.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})