with OpenPerplex and AccuWeather?
Get a screenshot of a website using Openperplex. See the documentation
Retrieve current weather conditions for a specific location using its location key. See the documentation
Queries content from a specific URL using Openperplex. See the documentation
Get daily weather forecast for a specific location with temperature, precipitation, and conditions. See the documentation
Perform a simple search using Openperplex. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
openperplex: {
type: "app",
app: "openperplex",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://node.apiopenperplex.com/get_website_text`,
headers: {
"x-api-key": `${this.openperplex.$auth.api_key}`,
},
params: {
url: `https://pipedream.com`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
accuweather: {
type: "app",
app: "accuweather",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://dataservice.accuweather.com/locations/v1/regions`,
params: {
apikey: `${this.accuweather.$auth.api_key}`,
},
})
},
})