func (v Database) GetRegions(params DatabaseGetRegionsParams) (*DatabaseGetRegionsResponse, error) {
	r, err := v.API.Request("database.getRegions", params)
	if err != nil {
		return nil, err
	}
	var resp DatabaseGetRegionsResponse
	err = json.Unmarshal(r, &resp)
	if err != nil {
		return nil, err
	}
	return &resp, nil
}
GetRegions Returns a list of regions.
package vkapi
import (
	"encoding/json"
	"github.com/stek29/vk"
)
type Database struct {
	API vk.API
}
type DatabaseGetCountriesParams struct {
	NeedAll bool `url:"need_all,omitempty"`
	Code string `url:"code,omitempty"`
	Offset int `url:"offset,omitempty"`
	Count int `url:"count,omitempty"`
}
type DatabaseGetCountriesResponse struct {
	Count int             `json:"count,omitempty"`
	Items []vk.BaseObject `json:"items,omitempty"`
}
func (v Database) GetCountries(params DatabaseGetCountriesParams) (*DatabaseGetCountriesResponse, error) {
	r, err := v.API.Request("database.getCountries", params)
	if err != nil {
		return nil, err
	}
	var resp DatabaseGetCountriesResponse
	err = json.Unmarshal(r, &resp)
	if err != nil {
		return nil, err
	}
	return &resp, nil
}
type DatabaseGetRegionsParams struct {
	CountryID int `url:"country_id"`
	Q string `url:"q,omitempty"`
	Offset int `url:"offset,omitempty"`
	Count int `url:"count,omitempty"`
}
type DatabaseGetRegionsResponse struct {
	Count int             `json:"count,omitempty"`
	Items []vk.BaseObject `json:"items,omitempty"`
}