I can look into this, but the clan chat interfaces and not in the api
Read the interface data from the clan members, array the worlds all the members are in. Using a map find the most common number in the array and hop to that world.
Something like this.
public int getCommonWorld(int[] a)
{
int count = 1, tempCount;
int world = a[0];
int temp = 0;
for (int i = 0; i < (a.length - 1); i++)
{
temp = a[i];
tempCount = 0;
for (int j = 1; j < a.length; j++)
{
if (temp == a[j])
tempCount++;
}
if (tempCount > count)
{
world = temp;
count = tempCount;
}
}
return world;
}