Question: Please write in python.We will use the lichess API to retrieve some information about the current state of chess in the world. In order to
Please write in python.We will use the lichess API to retrieve some information about the current state of chess in the world. In order to answer below questions, make precise and
economical requests. You may use:
import requests
import json
import pandas
from datetime import datetime
a What is the real name of the player muisback?
b i Get the username of the last player that played a rapid game against user athenapallada in ii In all games against this user, what is the win
toloss ratio of athenapallada?
c Consider the top ten players in the bullet leaderboard. i Which player has the most bullet games overall? ii Which player has played the most bullet
games relative to account age in days? iii Which player has the worst wintoloss ratio over all formats?
d Get all games from user
Group them by opening and print the ten most popular.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
