Generate menu from API-getarray