First implementation of getPlatforms