def printMatch(match):
pprint(match["data"]["teams"], indent=2)
link = 'https://ls.sportradar.com/ls/feeds/?/itf/en/Europe...' + m
yield link
def printMatch(match):
pprint(match["data"]["teams"], indent=2)
for url in getMatches():
response = requests.get(url) # Почему он здесь берет именно нужный url???
response.encoding = 'utf-8'
match = response.json()
for doc in match["doc"]:
printMatch(doc)