UserClient
Hierarchy
- ResourceClient
- UserClient
Index
Properties
inheritedapifyClient
inheritedbaseUrl
inheritedhttpClient
optionalinheritedid
optionalinheritedparams
inheritedpublicBaseUrl
inheritedresourcePath
optionalinheritedsafeId
inheritedurl
Methods
get
Retrieves the user data.
Depending on whether ApifyClient was created with a token, the method will either return public or private user data.
Returns Promise<User>
The user object.
limits
Retrieves the user's account and usage limits.
Returns Promise<undefined | AccountAndUsageLimits>
The account and usage limits object, or
undefinedif it does not exist.
monthlyUsage
Retrieves the user's monthly usage data.
Returns Promise<undefined | MonthlyUsage>
The monthly usage object, or
undefinedif it does not exist.
updateLimits
Updates the user's account and usage limits.
Parameters
options: LimitsUpdateOptions
The new limits to set.
Returns Promise<void>
Client for managing user account information.
Provides methods to retrieve user details, monthly usage statistics, and account limits. When using an API token, you can access your own user information or public information about other users.
https://docs.apify.com/platform/actors/running