Skip to main content

UserClient

Sub-client for querying user data.

Index

Methods

get

  • get(): dict | None

limits

  • limits(): dict | None
  • Returns dict | None

monthly_usage

  • monthly_usage(): dict | None
  • Return monthly usage of the user account.

    This includes a complete usage summary for the current usage cycle, an overall sum, as well as a daily breakdown of usage. It is the same information which is available on the account's Billing page. The information includes use of storage, data transfer, and request queue usage.

    https://docs.apify.com/api/v2/#/reference/users/monthly-usage


    Returns dict | None

update_limits

  • update_limits(*, max_monthly_usage_usd, data_retention_days): None
  • Updates the account's limits manageable on your account's Limits page.


    Parameters

    • keyword-onlymax_monthly_usage_usd: int | None = None
    • keyword-onlydata_retention_days: int | None = None

    Returns None

Page Options