https://github.com/gavinr/koop-provider-nba
NBA API -> Feature Service
https://github.com/gavinr/koop-provider-nba
koop koop-provider koopjs nba-api nba-stats
Last synced: 7 months ago
JSON representation
NBA API -> Feature Service
- Host: GitHub
- URL: https://github.com/gavinr/koop-provider-nba
- Owner: gavinr
- License: other
- Created: 2017-08-04T12:30:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-10T13:31:38.000Z (over 8 years ago)
- Last Synced: 2025-04-10T06:57:47.858Z (8 months ago)
- Topics: koop, koop-provider, koopjs, nba-api, nba-stats
- Language: JavaScript
- Size: 131 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/gavinr/koop-provider-nba)
# Koop NBA Provider
This is a Koop Provider that exposes NBA Shot Charts as Feature Services, to be used throughout the ArcGIS platform.
## Test it out
Run server:
- `npm install`
- `npm start`
Example API Query:
- `curl localhost:8080/nba/201566/FeatureServer/0/query?returnCountOnly=true`
Player names also work (last name first):
- `curl localhost:8080/nba/201566/FeatureServer/0/query?returnCountOnly=true`
Tests:
(not currently working)
- `npm test`
## Deployment Notes
- Note that the NBA Stats API seems to block Amazon AWS, Heroku, and maybe other cloud VM providers. More info [here](https://github.com/bttmly/nba/issues/41#issuecomment-294879571).