import requests

url = "https://nfl-schedule.p.rapidapi.com/v1/schedules"

headers = {
	"X-RapidAPI-Key": "7d3a48cfe5msh3e8d80273f9e62ap1ac0b4jsn5db7034eaa7e",
	"X-RapidAPI-Host": "nfl-schedule.p.rapidapi.com"
}

response = requests.request("GET", url, headers=headers)


print("NFL Scheduled games")

x = 0

while x <= 15:
	print(response.json().get("data")[x].get("name"))
	x += 1
NFL Scheduled games
Indianapolis Colts at Denver Broncos
New York Giants at Green Bay Packers
Pittsburgh Steelers at Buffalo Bills
Los Angeles Chargers at Cleveland Browns
Chicago Bears at Minnesota Vikings
Detroit Lions at New England Patriots
Seattle Seahawks at New Orleans Saints
Miami Dolphins at New York Jets
Atlanta Falcons at Tampa Bay Buccaneers
Tennessee Titans at Washington Commanders
Houston Texans at Jacksonville Jaguars
San Francisco 49ers at Carolina Panthers
Dallas Cowboys at Los Angeles Rams
Philadelphia Eagles at Arizona Cardinals
Cincinnati Bengals at Baltimore Ravens
Las Vegas Raiders at Kansas City Chiefs