Hi,
I am trying to request a list of players in a team squad.
I can get data for Manchester City as per below:
url: ‘https://flashlive-sports.p.rapidapi.com/v1/teams/squad’,
params: {locale: ‘en_INT’, sport_id: ‘1’, team_id: ‘Wtn9Stg0’},
However, when attempting to do this for NBA teams, as per below example, there is no data:
url: ‘https://flashlive-sports.p.rapidapi.com/v1/teams/squad’,
params: {locale: ‘en_INT’, sport_id: ‘3’, team_id: ‘KjBIVQcI’},
I note that you mention that the flashscore.com website was built using your API - how do they populate this page for example?
https://www.flashscore.com/team/minnesota-timberwolves/KjBIVQcI/squad/
Many thanks
Cam
Junte-se à discussão - adicione o comentário abaixo:
This is not available in the api. only on the site.
Thanks @tipsters. Can you please answer the last question in the above message: how do you populate the squad of players on this page https://www.flashscore.com/team/minnesota-timberwolves/KjBIVQcI/squad/? Are those players pulled from another API?
Hi!
In API “squad” is only available for soccer
Thank you!