Versions in this module Expand all Collapse all v1 v1.0.0 Sep 10, 2023 Changes in this version + type Account struct + Address string + AreaCode string + FullName string + Id string + Number string + type AccountWithMeteringPointId struct + MeteringPointId string + type Bill struct + From time.Time + To time.Time + TotalCharges string + Usage string + type Client struct + AccessToken string + func Login(ctx context.Context, phone, password string) (*Client, error) + func (client Client) GetAccounts(ctx context.Context) ([]Account, error) + func (client Client) GetAccountsWithMeteringPointId(ctx context.Context, account Account) ([]AccountWithMeteringPointId, error) + func (client Client) GetBills(ctx context.Context, account Account, year int) ([]Bill, error) + func (client Client) GetDailyUsages(ctx context.Context, account AccountWithMeteringPointId, year, month int) ([]DailyUsage, error) + type DailyUsage struct + Date string + Usage string