Open dwillis opened 8 years ago
Baby steps, but I'm focusing on grabbing players by first letter of last name.
It seems kinda counterintuitive to me to be grabbing players by last name instead of grabbing all players and then filtering.
Also, it would be useful if the players could be represented as data frames instead of manually having to access each stat.
Let me know what you think.
The grabbing by last name is just to get their IDs for parsing - the Player
class will allow you to specific a specific ID. I agree that it would be useful to be able to grab multiple players at once. What do you think the API for that looks like?
I was thinking of having some kind of a player combiner kind of object that combined multiple players and spat out a dataframe or similar.
That makes sense to me. Could it return a dataframe or serialized JSON?
Either would work. I've been spending a lot of time in R lately so everything's looking like a dataframe ;)
Heh, cool. This library tries to return Python objects where possible and JSON as a fallback.
Create a
Country
class that has methods for grabbing players by first letter of last name, grounds, fixtures (possibly use iCal format), international results, maybe domestic results?.