jasonroman/nba-api

PHP Library to request data from various endpoints on NBA websites

Installs: 4 578

Dependents: 0

Suggesters: 0

Security: 0

Stars: 99

Watchers: 11

Forks: 13

Open Issues: 6

pkg:composer/jasonroman/nba-api

1.0.7 2018-04-23 17:02 UTC

This package is not auto-updated.

Last update: 2025-09-28 09:14:36 UTC


README

Build Status

This is a PHP library used to access data across various endpoints on NBA websites. The full documentation can be found at http://nbasense.com/nba-api/. This contains installation instructions, usage examples, and runnable/filterable reporting on all endpoints.

Troubleshooting

If you are having trouble retrieving requests that access stats.nba.com/stats/, it appears that the NBA has blocked off access to these endpoints on some level; this blocking seems to occur on many cloud hosting providers such as Amazon AWS, Digital Ocean, and Heroku.

In my testing, these endpoints have always worked when developing locally.