func (a *AccountService) Settings(ctx context.Context) (Settings, error) {
	req, err := a.client.NewRequest(ctx, "GET", "/v2/account/settings", nil)
	if err != nil {
		return Settings{}, nil
	}
	var r struct {
		Settings Settings
	}
	_, err = a.client.Do(req, &r)
	if err != nil {
		return Settings{}, err
	}
	return r.Settings, nil
}
Settings retrieves user preferences.
package putio
import "context"
type AccountService struct {
	client *Client
}
func (a *AccountService) Info(ctx context.Context) (AccountInfo, error) {
	req, err := a.client.NewRequest(ctx, "GET", "/v2/account/info", nil)
	if err != nil {
		return AccountInfo{}, nil
	}
	var r struct {
		Info AccountInfo
	}
	_, err = a.client.Do(req, &r)
	if err != nil {
		return AccountInfo{}, err
	}
	return r.Info, nil
}