for PPE, do we need to code special
for PPE, do we need to code special events? for example, if someone wanted to charge per result
2 Replies
Yes, the charging is done in code, see https://docs.apify.com/platform/actors/publishing/monetize#pay-per-event-pricing-model
https://docs.apify.com/sdk/js/reference/class/Actor#charge
Eventually, we want to bake the result event into the platform, but not yet
Monetize your Actor | Platform | Apify Documentation
Learn how you can monetize your web scraping and automation projects by publishing Actors to users in Apify Store.
Actor | API | SDK for JavaScript | Apify Documentation
Actor
class serves as an alternative approach to the static helpers exported from the package. It allows to pass configuration
that will be used on the instance methods. Environment variables will have precedence over this configuration.
See {@apilink Configuration} for details about what can be configured and what are the default values.Thanks. It would be nice to have it part of the platform to simplify things.
Another suggestion would be to add something into the system to prevent free users from getting full data instead of having to add it programmatically.