John Madden
John Madden
Do you know details about the API beyond GET endpoints? Also would probably need a dummy team to test this - could get banned!
It's dependant on previous commits. The main change is in the get_gameweek method, where the bonus points are retrieved and then assigned as attributes to the player On Sun 20...
Sounds like it should be separate project, some sort of client side app
It's convenient as opposed to strictly necessary e.g. `first_xi_live_scores = [players[player_id].live_score for player_id in first_xi]` here i can access the correct player directly just by calling the id, instead of...
`def find(items, id_): try: return items[id_] except KeyError: return next(item for item in items if item["id"] == id_) ` This as a utility function would work for either dicts or...