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
Actually i'm trying to fetch data players with the stats endpoints.
I'm working with React and a small Express Server to call this endpoints.
Sometimes when I call "http://localhost:1245/stats", it returns me a result, but 90% of time, it loading indefinitely...
Hi,
Actually i'm trying to fetch data players with the stats endpoints.
I'm working with React and a small Express Server to call this endpoints.
Sometimes when I call "http://localhost:1245/stats", it returns me a result, but 90% of time, it loading indefinitely...
Do you have some ideas ?
Here my route
app.get('/stats', async (req, res) => { const stats = await NBA.stats.playerSplits({ PlayerID: "2544", Season: "2019-20" }) res.json(stats); })
I'm working with a fixed ID, but then, I'm gonna call this API with a dynamic Player ID.
Thanks,
And sorry, my english sucks. ;)
The text was updated successfully, but these errors were encountered: