jasonroman/nba-api

PHP Library to request data from various endpoints on NBA websites

1.0.7 2018-04-23 17:02 UTC

This package is not auto-updated.

Last update: 2024-04-14 01:52:01 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.