You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to name match some MLS (Inter Miami) players by playerId's and noticed that the players endpoint doesn't have all the players. For the 2024 season I am only getting 6 players from Inter Miami. Would really appreciate a fix or explanation on this. Working on a cool project using the data from the api.
Thank you
The text was updated successfully, but these errors were encountered:
Hey, thanks for reaching out. Could you drop a sample request here to help debug?
My guess: If you're hitting the endpoint directly, each is paginated and returns a maximum of 100 records. As such, you can pass offset and limit parameters to walk through each results set (e.g., https://app.americansocceranalysis.com/api/v1/mls/players?offset=100&limit=100). Depending on which programming language you're using, you may also want to leverage the itscalledsoccer (Python, R) library, which handles this pagination implicitly.
HI,
I was trying to name match some MLS (Inter Miami) players by playerId's and noticed that the players endpoint doesn't have all the players. For the 2024 season I am only getting 6 players from Inter Miami. Would really appreciate a fix or explanation on this. Working on a cool project using the data from the api.
Thank you
The text was updated successfully, but these errors were encountered: