Returns a list of communities matching the search criteria
groupsSearch(
q = "",
type = "",
country_id = "",
city_id = "",
future = 0,
market = 0,
sort = 0,
offset = 0,
count = 20,
v = getAPIVersion()
)
Search query string
Community type. Possible values: group, page, event
Country ID
City ID. If this parameter is transmitted, country_id is ignored
1 <U+2014> to return only upcoming events. Works with the type = event only
1 <U+2014> to return communities with enabled market only
Sort order. Possible values:
0 <U+2014> default sorting (similar the full version of the site);
1 <U+2014> by growth speed;
2<U+2014> by the "day attendance/members number" ratio;
3 <U+2014> by the "Likes number/members number" ratio;
4 <U+2014> by the "comments number/members number" ratio;
5 <U+2014> by the "boards entries number/members number" ratio.
Offset needed to return a specific subset of results
Number of communities to return (default 20, maximum value 1000)
Version of API