Company: Confluent_6nov
Difficulty: medium
League Earnings Problem Description Analyze potential revenue for football (soccer) clubs based on their stadium capacity and historical performance. Use HTTP GET requests to access a football club database via the URL https://jsonmock.hackerank.com/api/football_teams?league={league_name} with pagination available via &page={num} . Replace {league_name} and {num} with the appropriate values. The API response includes: page : current page number per_page : maximum results per page total : total number of records total_pages : total number of pages data : array of club information Each club entry in the data array contains: name : club name league : league name stadium_capacity : stadium capacity number_of_champions_league_won : Champions League titles total_silverware_count : total trophies won league_top_three_finishes : number of top-three finishes other details not relevant to this question For example, the record from https://jsonmock.hackerank.com/api/football_teams might look