Get events from API and display it