Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct {
Client Requester
}
Api provides profile related API.
func (*Api) Balance ¶
func (a *Api) Balance(ctx context.Context) (result *BalanceResponse, err error)
Balance return daily statistics see documentation https://dadata.ru/api/stat/
type BalanceResponse ¶
type BalanceResponse struct {
Balance float64 `json:"balance"`
}
BalanceResponse Response of API request
Click to show internal directories.
Click to hide internal directories.