with npm and Apify (OAuth)?
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 selected Actor is run and finishes.
Emit new event when a selected task is run and finishes.
Performs an execution of a selected Actor in Apify. See the documentation
Run a specific task and return its dataset items. See the documentation
Executes a scraper on a specific website and returns its content as HTML. This action is perfect for extracting content from a single page. See the documentation
Create or update a record in the key-value store of Apify. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
apify_oauth: {
type: "app",
app: "apify_oauth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.apify.com/v2/users/me`,
headers: {
Authorization: `Bearer ${this.apify_oauth.$auth.oauth_access_token}`,
},
})
},
})