users sub-package

users sub-package#

Methods to interact with the user info on the API.

get_costs(start_year: int, start_month: int, end_year: int = None, end_month: int = None) Dict[str, Any]#

Get the user costs.

This function gets a dict with the user costs.

Returns:

Dict with the user costs.

get_info() Dict[str, Any]#

Get the user information.

This funtion gets the user information, including the user’s name, email, username, plan, programs, and total available credits.

Returns:

Dict with the user information.

get_quotas() Dict[str, Dict[str, Any]]#

Get the user quotas.

This function gets a dict with the user quotas.

Returns:

Dict with the user quotas.