wiscostret / fplscrapR

This package enables those interested in Fantasy Premier League to perform detailed data analysis of the game, using the FPL's JSON API. The fplscrapR functions help R users collect and parse data from the Official Fantasy Premier League website.
Creative Commons Zero v1.0 Universal
76 stars 16 forks source link

get_player_details error #23

Closed ArnieWNZ closed 2 years ago

ArnieWNZ commented 2 years ago

I tried running get_player_details(name="Mohamed Salah") in R and I'm receiving the following error. Error in open.connection(con, "rb") : cannot open the connection In addition: Warning message: In open.connection(con, "rb") : InternetOpenUrl failed: 'The operation timed out'

wiscostret commented 2 years ago

Hi, looks like a simple connection error - either on your end or the FPL API. If it's the former, you'll have to check your local connection. It could be the latter - the FPL API has been overloaded to start the season - then simply try another time.