This code uses the Apex Legends API to display information about the current season. It retrieves the season number, name, start date, split date, and end date, as well as the split progress and season progress.
API is from https://github.com/ergofriend/game-season-api