Comments (2)
Hey! Thanks for the heads up – I'll publish a new version soon, but FYI you can always update this at runtime nba.updatePlayers()
will update the nba.players
object. Packaging a JSON file is just for convenience – using nba.updatePlayers()
will always be a better option if you want the most up-to-date rosters since they change constantly.
If you have a long-running application you might want to call nba.updatePlayers()
every so often to ensure your data is fresh. Otherwise if you're writing a script for data scraping or similar, you can just call that first then do whatever else you need.
from nba.
Thanks, using nba.updatePlayers()
worked for me
from nba.
Related Issues (20)
- Team and Player Images HOT 1
- Calling Stats endpoint HOT 2
- Is it still possible to get shot chart detail? HOT 1
- Error: 404 Not Found HOT 1
- Any way to update Players.json
- How can I work around the CORS restriction so that I can test my site on my browser locally? HOT 3
- It seems that ver.4.8.0 still works for browser apps. HOT 6
- Timeouts HOT 3
- A fix for HTTP being blocked (Mix Content Error) HOT 1
- teamInfoCommon not working HOT 4
- Play by play call seems very delayed HOT 1
- List of Teams & Games HOT 4
- TypeScript type definitions HOT 4
- `nba.stats.scoreboard`: No way to get game start time HOT 5
- Missing `data` endpoints HOT 5
- NBA API - required headers HOT 2
- Newest Version HOT 2
- WNBA? HOT 8
- Not working in server but in local running perfect HOT 2
- players.json missing 2021 rookies HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nba.