I just installed leaguepedia_parser and I'm trying to use the example code snippet but get_games() isn't returning anything. I've tried a few different tournaments.
This is the code:
import leaguepedia_parser
# Gets regions names
regions = leaguepedia_parser.get_regions()
# Gets tournaments in the region, by default only returns primary tournaments
tournaments = leaguepedia_parser.get_tournaments("Korea", year=2020)
# Gets all games for a tournament. Get the name from get_tournaments()
games = leaguepedia_parser.get_games("LCK 2020 Spring")
print(games)
# Gets picks and bans and other details from a game. Get the game object from get_games()
game = leaguepedia_parser.get_game_details(games[0])
# Gets the URL of the team’s logo
logo_url = leaguepedia_parser.get_team_logo('T1')
I just installed leaguepedia_parser and I'm trying to use the example code snippet but
get_games()
isn't returning anything. I've tried a few different tournaments.This is the code: