Giter Club home page Giter Club logo

nbapy's People

Contributors

actions-user avatar huyqle3 avatar insightpeter avatar jtpavlock avatar lentils avatar marek5050 avatar mcdallas avatar mwilliammyers avatar proche90210 avatar rgreasons avatar rymc9384 avatar seemethere avatar spancypantz avatar spudfkc avatar swar avatar trevormccormick avatar vitamintk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nbapy's Issues

Request Time out for any API call

Hey I am picking back up my project and was using this code again. I notice now that any API call I make times out. Are you seeing that also?

from nbapy import game
import pandas as pd

game_id = '0021900017' # taken from 'https://stats.nba.com/game/0021900017/'
stats = game.BoxScore(game_id).players_stats()
print(stats)

Need Help Looping thru BoxScores

i am trying just to get 2nd dataframe in the return, and loop thru all games

from nbapy import game
game_id = '0021900017'
stats = game.BoxScore(game_id).players_stats()

Running Box Score example

When executing
pd.DataFrame(game.BoxScore(game_id).players_stats())
there seems to be an exceptionally long execution time with no output.
Is this package still useable?

New to Python but have question for you

Hey man thanks so much for sharing this repo! It's been great for me doing some exploratory analysis. I am running into a timeout issue though which I think might be a function of the NBA stats side. I am trying to get the player information for all NBA players. Your documentation allowed me to get the information for an individual player very easily. I am looping through to get for all players and am consistently running into a timeout issue. Do you know if the NBA stats prohibits this type of behavior? Or could I change the timeout setting myself?

summary = Summary(1629027)
summary.info()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.