An API Client package to access the APIs for NBA.com

Overview

PyPI CircleCI (all branches) GitHub GitHub

nba_api

An API Client package to access the APIs for NBA.com

Development Version: v1.1.9

nba_api is an API Client for www.nba.com. This package is meant to make the API Endpoints more accessible and to provide extensive documentation.

The APIs on www.nba.com are largely undocumented and change frequently.

Please feel free to contribute and have an open discussion regarding improvements and additional APIs to be mapped.

Recent Changes

  • Adding individual proxy, headers, and timeout support for requests. Usage

Mapped API Clients

  1. stats.nba.com - stats

Have Questions or Need Help?

Please try to avoid sending questions to my personal email that regard researching a solution to your specific problem. I don't mind helping, but the library has been setup with expansive documentation that should be checked first prior to reaching out to me personally. Alternatively, there are other places where you can ask for general advice that has been listed below.

Slack Channel

There has been a public slack channel that has been setup for people to chat and receive help.

Stack Overflow

A tag has been set up for people to use when asking for help on Stack Overflow. Please tag posts with the nba-api tag.

Use

Installation

pip install nba_api

Required and Optional Packages:

Usage Examples

  • Basic Usage -- The basics of calling an API endpoint.
  • Jupyter Notebooks -- Larger practical examples in Jupyter Notebook format, including looking for play-by-play data for a particular game.

Documentation

Contributing and Development

Development

To get started developing, clone the repo and cd into it. Then, in an environment (conda or virtualenv) where you have not yet installed nba_api, run

python -m pip install -e .

This command will install the package for development, such that any changes you make in the repo will be reflected the next time you import the package in Python.

Testing

If you make a change to the package, it's important to verify everything still works. Do so by first installing the package for development, with the -e flag (see Development above), and then running

pytest

on the command line from the base directory of the repo. The pytest utility will run through all the package tests and print output throughout, informing you of any failures.

Contributing

We're always looking for people to help! Some examples of ways to get involved are:

  • fix a bug
  • add a feature
  • create or improve documentation and examples

Just fork this repo, make your changes (see Development above), and issue a pull request.

Other

Endpoint Analysis

A major purpose of this package is to map and analyze as many endpoints on NBA.com as possible. The documentation and analysis on the Endpoints and Parameters found in this package is some of the most extensive information available on these largely undocumented Endpoints. Please open an issue with any additional Endpoints/APIs.

Examples for Other Clients

Endpoint Analysis JSON for use with other clients

Comments
  • Connection Error

    Connection Error

    Unable to connect and receiving the error message below.

    ReadTimeout: HTTPSConnectionPool(host='stats.nba.com', port=443): Read timed out. (read timeout=30)

    bug question 
    opened by brettak09 17
  •  HTTPSConnectionPool(host='stats.nba.com', port=443): Read timed out. (read timeout=30)

    HTTPSConnectionPool(host='stats.nba.com', port=443): Read timed out. (read timeout=30)

    Noticed there is a few threads on this issue yet the solutions provided haven't worked. Maybe I'm doing something wrong? Thanks for the help in advance! from nba_api.stats.static.teams import find_teams_by_full_name from nba_api.stats.endpoints.teamplayerdashboard import TeamPlayerDashboard mia_id = find_teams_by_full_name("Miami Heat")[0]['id'] mia = TeamPlayerDashboard(measure_type_detailed_defense = "Base",per_mode_detailed = "Totals", team_id = mia_id, season = "2019-20").players_season_totals.get_data_frame()

    ERROR: `--------------------------------------------------------------------------- timeout Traceback (most recent call last) /usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py in _make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw) 383 # otherwise it looks like a programming error was the cause. --> 384 six.raise_from(e, None) 385 except (SocketTimeout, BaseSSLError, SocketError) as e:

    24 frames timeout: The read operation timed out

    During handling of the above exception, another exception occurred:

    ReadTimeoutError Traceback (most recent call last) ReadTimeoutError: HTTPSConnectionPool(host='stats.nba.com', port=443): Read timed out. (read timeout=30)

    During handling of the above exception, another exception occurred:

    ReadTimeout Traceback (most recent call last) /usr/local/lib/python3.6/dist-packages/requests/adapters.py in send(self, request, stream, timeout, verify, cert, proxies) 527 raise SSLError(e, request=request) 528 elif isinstance(e, ReadTimeoutError): --> 529 raise ReadTimeout(e, request=request) 530 else: 531 raise

    ReadTimeout: HTTPSConnectionPool(host='stats.nba.com', port=443): Read timed out. (read timeout=30)`

    opened by angelespesobv 16
  • Live Data Endpoint on S3

    Live Data Endpoint on S3

    @swar - Wanted to get your input on the following PR.

    stats.nba.com does not appear to have live game data. I was though able to find live game data on an S3 bucket that the nba pushes to. Using your stats model for libraries, I created a live folder at the root next to stats.

    The code to use this is as follows:

    from nba_api.live.endpoints import playbyplay
    playbyplay.PlayByPlay('0012000048').get_dict()
    

    Not sure how this should all be laid out hence my request for review. I don't need an immediate turn around as I'll be using my fork for now. I'm also not sure to the extent of the S3 bucket. It does appear that they keep a significant amount of data in there.

    Let me know your thoughts, very interested in what you think. Thanks!

    opened by rsforbes 15
  • Most endpoints not working

    Most endpoints not working

    I can´t get response from most of the endpoints.

    Some examples:

    https://stats.nba.com/stats/playercareerstats?LeagueID=&PerMode=Totals&PlayerID=2544 https://stats.nba.com/stats/teamdetails?TeamID=1610612739 https://stats.nba.com/stats/franchiseplayers?LeagueID=00&PerMode=Totals&SeasonType=Regular+Season&TeamID=1610612739

    have the endpoints changed?

    question 
    opened by mikethegeek-es 13
  • Would there be any interest in a Discord channel or some sort of chatroom?

    Would there be any interest in a Discord channel or some sort of chatroom?

    Hello community,

    I wanted to reach out to all of you to see if there is any interest in setting up a Discord channel to discuss nba_api. I unfortunately cannot get to a lot of these questions in a timely manner and I think being able to share thoughts and questions with each other will be important.

    I am not too familiar with Discord, but I am open to suggestions if is interest.

    If there is no response in the next week, I will close this ticket out.

    Best, Swar

    opened by swar 13
  • Connection Error

    Connection Error

    I was able to access the api until two days ago. I keep receiving this error when trying to retrieve information. Any suggestions?

    ConnectionError: ('Connection aborted.', OSError("(10054, 'WSAECONNRESET')"))

    Thanks!

    question 
    opened by janjuana1 13
  • Advanced Stats

    Advanced Stats

    Hi Everyone,

    Is there a way to see a players advanced stats for every game in a season? I see there's a boxscoreadvancedstatsv2 endpoint but can't seem to get stats for every game.

    question 
    opened by danielkmetz 12
  • Is the API still working? Are there new headers?

    Is the API still working? Are there new headers?

    Hey I'm not able to connect to any of the endpoints, I get this error...

    readtimeout: httpsconnectionpool(host='stats.nba.com', port=443): read timed out. (read timeout=30)
    

    These are the headers I'm using...

    {
        'Host': 'stats.nba.com',
        'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0',
        'Accept': 'application/json, text/plain, */*',
        'Accept-Language': 'en-US,en;q=0.5',
        'Referer': 'https://stats.nba.com/',
        'Accept-Encoding': 'gzip, deflate, br',
        'Connection': 'keep-alive',
        'x-nba-stats-origin': 'stats',
        'x-nba-stats-token': 'true'
    }
    
    

    Can someone help me?

    question 
    opened by sbut1992 11
  • PBP thoughts

    PBP thoughts

    First off - Great work on this. Most thorough and well put together NBA package I've used. No actual issues thus far so feel free to close this off the bat but I do have a couple thoughts.

    1. It looks like you already did the work for extracting referee name from the descriptions (unless I misinterpreted the script). Will that be a future addition? I've been planning to do some work with regard to ref foul tendencies.

    2. Along those same lines, being able to differentiate between non-shooting, 2pt shooting fouls and 3pt shooting fouls would be helpful. (shot distance would be even better but doesn't look like the the nba source even provides it).

    It's no problem for me to do this stuff on my end but figure if the additions are pending I could just wait. Thanks again.

    bug 
    opened by chisox721 8
  • api end point for schedule? e.g https://stats.nba.com/schedule/#!?Month=11

    api end point for schedule? e.g https://stats.nba.com/schedule/#!?Month=11

    Does this library provide the mapping of the endpoint for the schedule page?

    If not, where I can find more info about this particular endpoint? Any help would be greatly appreciated.

    question 
    opened by RuijieZ 7
  • PlayerGameLogs appears to return 2016-17 data regardless of what's passed in

    PlayerGameLogs appears to return 2016-17 data regardless of what's passed in

    Doesn't appear to matter how the call is structured, whether you're filtering to a player, a team, or trying to filter to a season. The team parameter works. The player parameter works. The season parameter does not work and the API call returns data from 2016-17 always.

    This is specifically the new playergamelogs (plural) endpoint that was added this past weekend.

    bug 
    opened by jredwards 7
  • NBA API: timeout for /stats endpoints

    NBA API: timeout for /stats endpoints

    Hello,

    First, I cannot thank you enough for this wonderful library.

    I believe this has already been addressed in previous issues, but still shooting my shot. I'm having an issue with the NBA API for an app deployed on Heroku:

    • the requests to /stats endpoints time out in production, while working locally
    • the requests to /live endpoints work fine

    I'm aware that the NBA block their API for Heroku instances, but I wanted to know if you were able to find a long-term workaround for this.

    I'm using the version 1.1.13 of the library.

    Thanks in advance :)

    opened by sallareznov 3
  • Play-in Season Type?

    Play-in Season Type?

    Is there a season type string for play-in games? I see these for preseason and regular season game, as well as "Playoffs" and "All Star" below them, but not sure how NBA treats play-in games

    opened by rossdrucker 0
  • Bump certifi from 2022.9.24 to 2022.12.7

    Bump certifi from 2022.9.24 to 2022.12.7

    Bumps certifi from 2022.9.24 to 2022.12.7.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Add VideoEventDetailAsset endpoint

    Add VideoEventDetailAsset endpoint

    From what I can tell, this endpoint is more performant and will return more than 1 video (compared to the videoeventasset endpoint)

    I found it while looking at the boxscores from nba.com - and I was able to use a tool to convert the curl request into a python request

    import requests
    ​
    headers = {
        'Accept': '*/*',
        'Accept-Language': 'en-US,en;q=0.9',
        'Connection': 'keep-alive',
        'Origin': 'https://www.nba.com',
        'Referer': 'https://www.nba.com/',
        'Sec-Fetch-Dest': 'empty',
        'Sec-Fetch-Mode': 'cors',
        'Sec-Fetch-Site': 'same-site',
        'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36',
        'sec-ch-ua': '"Google Chrome";v="107", "Chromium";v="107", "Not=A?Brand";v="24"',
        'sec-ch-ua-mobile': '?0',
        'sec-ch-ua-platform': '"macOS"',
    }
    ​
    params = {
        'AheadBehind': '',
        'CFID': '',
        'CFPARAMS': '',
        'ClutchTime': '',
        'Conference': '',
        'ContextFilter': '',
        'ContextMeasure': 'FGA',
        'DateFrom': '',
        'DateTo': '',
        'Division': '',
        'EndPeriod': '0',
        'EndRange': '31800',
        'GROUP_ID': '',
        'GameEventID': '',
        'GameID': '0022200224',
        'GameSegment': '',
        'GroupID': '',
        'GroupMode': '',
        'GroupQuantity': '5',
        'LastNGames': '0',
        'LeagueID': '00',
        'Location': '',
        'Month': '0',
        'OnOff': '',
        'OppPlayerID': '',
        'OpponentTeamID': '0',
        'Outcome': '',
        'PORound': '0',
        'Period': '0',
        'PlayerID': '1631115',
        'PlayerID1': '',
        'PlayerID2': '',
        'PlayerID3': '',
        'PlayerID4': '',
        'PlayerID5': '',
        'PlayerPosition': '',
        'PointDiff': '',
        'Position': '',
        'RangeType': '0',
        'RookieYear': '',
        'Season': '2022-23',
        'SeasonSegment': '',
        'SeasonType': 'Regular Season',
        'ShotClockRange': '',
        'StartPeriod': '0',
        'StartRange': '0',
        'StarterBench': '',
        'TeamID': '1610612748',
        'VsConference': '',
        'VsDivision': '',
        'VsPlayerID1': '',
        'VsPlayerID2': '',
        'VsPlayerID3': '',
        'VsPlayerID4': '',
        'VsPlayerID5': '',
        'VsTeamID': '',
    }
    ​
    response = requests.get('https://stats.nba.com/stats/videodetailsasset', params=params, headers=headers)
    
    enhancement new endpoint 
    opened by rconnol 0
  • CumeStatsPlayer does not work.

    CumeStatsPlayer does not work.

    CumeStatsPlayer doesn't seem to be working properly.

    It requires a list of GameIDs, which are provided when I fetch all game IDs for a certain player's season (in this case, Jason Tatum 2021-22). Despite giving a ton of GameIDs, I only get the totals for 1 game? I am confused. It even says GP/GS are both values of 1 in the response.

    Below is what I am executing:

    from nba_api.stats.endpoints import commonplayerinfo, cumestatsplayer, cumestatsplayergames
    from nba_api.stats.static import players;
    
    # nba_players = players.get_players()
    nba_players = players.find_players_by_full_name('Jayson Tatum')
    
    for nba_player in nba_players:
        player_id = nba_player['id']
    
        player_info = commonplayerinfo.CommonPlayerInfo(player_id).common_player_info.get_dict()
    
        p_columns = player_info['headers']
        p_rows = player_info['data'][0]
    
        p_data = dict(zip(p_columns, p_rows))
    
        print(p_data)
    
        p_games = cumestatsplayergames.CumeStatsPlayerGames(player_id, league_id='00', season='2021-22', season_type_all_star='Regular Season').cume_stats_player_games.get_dict()['data']
    
        game_ids = []
    
        for game in p_games:
            game_ids.append(game[1])
        
        print(game_ids)
    
        p_stats = cumestatsplayer.CumeStatsPlayer(player_id, game_ids, league_id='00', season='2021-22').total_player_stats.get_dict()
    
        pstats_columns = p_stats['headers']
        pstats_rows = p_stats['data'][0]
    
        pstats_data = dict(zip(pstats_columns, pstats_rows))
    
        print('\n\n')
        print('player stats: ')
        print(pstats_data)
    

    Even putting hand-picked game IDs into the game_ids parameter gives me the same result, cumulative stats for only 1 game despite giving a bunch of game IDs that are valid.

    enhancement documentation 
    opened by YKhanTU 3
Releases(v1.1.14)
  • v1.1.14(Nov 16, 2022)

    Fixed

    • Fixed a team turnover regular expression when working with PlayByPlay data.
    • Endpoints

    Added

    • Poetry: Python dependency management and packaging made easy
    • Snyk for Security Scanning
    • Exclusion to .gitignore for .dccache files created by Snyk CLI
    • Introduced .flake8, resolve a number of style guide issues, added exclusions with future TODOs

    Changed

    • Minimum Version for NumPy has been set to v1.22.22 due to a security vulnerability in NumPy v1.21.6

    Removed

    • Support for Python 3.7 due to a security vulnerability in NumPy v1.21.6

    Security

    Source code(tar.gz)
    Source code(zip)
    nba_api-1.1.14-py3-none-any.whl(248.95 KB)
    nba_api-1.1.14.tar.gz(123.51 KB)
  • v1.1.13(Oct 17, 2022)

    Fix team_index_championship_year #286

    • add championship years to data-updater template
    • re-add team_index_championship_year to static data
    • add Bucks 2021 championship and GSW 2022
    Source code(tar.gz)
    Source code(zip)
  • v1.1.12(Oct 14, 2022)

    Added

    Changed

    Removed

    • Support for Python 3.4, 3.5, and 3.6
    • Setup.py file in favor of pyproject.toml (PEP 621)

    Fixed

    • Issue #249: ./nba_api/stats/endpoints/_base.py requires numpy to format data for get_data_frame. numpy was not in the list of requirements, but is required.
    • Issue #278: Fixed playbyplayregex, and included updated unit tests, where
      • The NBA removed a space that represented distance when distance was not included in the made/missed shot.
      • Jump Ball contained a single space in the description (regex now also supports multiple spaces empty description).
      • Team fouls no longer included Player/Referee, just the Team Name & Foul.

    What's Changed

    • Visual Package Structure in docs by @AlexEidt in https://github.com/swar/nba_api/pull/235
    • added support for videoeventsasset endpoint by @prateekjaipuria in https://github.com/swar/nba_api/pull/259
    • Updated Python Support within CI Build by @rsforbes in https://github.com/swar/nba_api/pull/264
    • Updating Circle CI Build + CONTRIBUTING.md by @rsforbes in https://github.com/swar/nba_api/pull/265
    • Issue Template for Bugs by @rsforbes in https://github.com/swar/nba_api/pull/266
    • fixed missing label by @rsforbes in https://github.com/swar/nba_api/pull/267
    • Update CircleCI Docker Images Due to Planned Deprecation by @rsforbes in https://github.com/swar/nba_api/pull/271
    • Player update for 2022-23 Season by @rsforbes in https://github.com/swar/nba_api/pull/272
    • Added CHANGELOG.MD by @rsforbes in https://github.com/swar/nba_api/pull/274
    • updated changelog.md by @rsforbes in https://github.com/swar/nba_api/pull/275
    • Resolved Numpy Requirement by @rsforbes in https://github.com/swar/nba_api/pull/276
    • Restructured Project. Version Bump to 1.1.12. Added pyproject.toml. by @rsforbes in https://github.com/swar/nba_api/pull/277
    • PlayByPlay Regex Fixes by @rsforbes in https://github.com/swar/nba_api/pull/278
    • Revised the README.md by @rsforbes in https://github.com/swar/nba_api/pull/279
    • 2022 MVP in README.md. Version set to 1.1.12-rc.1 by @rsforbes in https://github.com/swar/nba_api/pull/280
    • PlayByPlay Regex Fixes by @rsforbes in https://github.com/swar/nba_api/pull/281
    • V1.1.12 Final by @rsforbes in https://github.com/swar/nba_api/pull/282

    New Contributors

    • @AlexEidt made their first contribution in https://github.com/swar/nba_api/pull/235
    • @prateekjaipuria made their first contribution in https://github.com/swar/nba_api/pull/259

    Full Changelog: https://github.com/swar/nba_api/compare/v1.1.11...v1.1.12

    Source code(tar.gz)
    Source code(zip)
    nba_api-1.1.12-py3-none-any.whl(248.95 KB)
    nba_api-1.1.12.tar.gz(328.19 KB)
  • v1.1.11(Nov 9, 2021)

  • v1.1.10(Nov 9, 2021)

    v1.1.10

    2021-10-31

    stats.nba.com

    • Added handling of multiple level column names #212
    • Finding team by championship years #219
    • Updated Static Player and Team Data #225
    • Added previous_season attribute for Season Parameter #226

    Live NBA Stats

    • Randy added some Live NBA endpoints #184

    Endpoints were unable to be tested due to outdated analyzer.

    Source code(tar.gz)
    Source code(zip)
  • v1.1.9(Aug 19, 2020)

    v1.1.9

    2020-08-18

    stats.nba.com

    • Fixed bug where LeagueDashOppPtShot was missing in tests and init.py #152
    • Adding endpoints #102
      • AllTimeLeadersGrids
      • BoxScoreSimilarityScore
      • CumeStatsPlayer
      • CumeStatsPlayerGames
      • CumeStatsTeam
      • CumeStatsTeamGames
      • DraftBoard
      • GameRotation
      • GLAlumBoxScoreSimilarityScore
      • LeagueHustleStatsPlayer #144
      • LeagueHustleStatsPlayerLeaders #144
      • LeagueHustleStatsTeam #144, #147
      • LeagueHustleStatsTeamLeaders #144
      • LeagueLineupViz
      • LeagueStandingsV3
      • MatchupsRollup
      • PlayerCareerByCollege
      • PlayerCareerByCollegeRollup
      • PlayerEstimatedMetrics
      • ShotChartLeagueWide
      • TeamEstimatedMetrics

    Tools

    • Various Changes for New Endpoints including Threading
    Source code(tar.gz)
    Source code(zip)
  • v1.1.8(Jan 27, 2020)

    v1.1.8

    2020-01-27

    stats.nba.com

    • Updating Headers for New Requirements #126
    • Updates to Static Players Data
    • Added Proxy List Support
    • Adding endpoint #102
      • TeamGameLogs

    Tools

    • Added Parameter Overrides for Bad Parameter Analysis #99
    Source code(tar.gz)
    Source code(zip)
  • v1.1.5(Nov 10, 2019)

  • v1.1.4(Apr 29, 2019)

    v1.1.4

    2019-04-28

    stats.nba.com

    • Updates to PlayByPlay Regex #70

    Scripts

    • Added Script for Static Player Updater

    Tests

    • Updates to PlayByPlay Tests with Yesterday's Games #70

    Tools

    • Added Static Player Data Updater Tool #67
    Source code(tar.gz)
    Source code(zip)
  • v1.1.3(Apr 21, 2019)

    v1.1.3

    2019-04-21

    stats.nba.com

    • Added PlayByPlay Regex for Ejections #64
    • Adding Active Status to Static Player List #66
    • Removing tools from the PyPi upload

    v1.1.2

    2019-04-15

    stats.nba.com

    • Updating PlayByPlay Regex. #59
    • Adding endpoints #60
      • SynergyPlayTypes
    Source code(tar.gz)
    Source code(zip)
  • v1.1.1(Apr 7, 2019)

    v1.1.1

    2019-04-07

    stats.nba.com

    • Adding proxy, header, and timeout support for every request. [#49] Example
    • Fixing auto-complete tabs for IDEs on endpoints. [#45]
    • Laid out foundation for future url generation without requesting.
    • Adding endpoints [#54]
      • AssistLeaders
      • AssistTracker
      • BoxScoreDefensive
      • BoxScoreMatchups
      • FantasyWidget
      • FranchiseLeaders
      • FranchisePlayers
      • LeaguePlayerOnDetails
      • LeagueSeasonMatchups
      • TeamAndPlayersVsPlayers
      • WinProbabilityPBP

    Tools

    • Updating analysis for site updates
    Source code(tar.gz)
    Source code(zip)
  • v1.0.7(Dec 12, 2018)

    v1.0.7

    2018-12-11

    stats.nba.com

    • PlayersVsPlayers no longer valid.
    • Adding TwoWay to parameters

    Documentation

    • Updating Endpoint docs with Python variables for #19.

    Endpoint Documentation Generator

    • Updating Endpoint docs with Python variables for #19.
    Source code(tar.gz)
    Source code(zip)
  • v1.0.6(Oct 11, 2018)

  • v1.0.5(Oct 11, 2018)

    v1.0.5

    2018-10-10

    • Adding last_validated_date to analysis json.

    stats.nba.com

    • Adding LeagueDashPtStats endpoint
    • Adding PtMeasureType to parameters
    • Updating missing_parameter_regex for Season Year bug.
    • Switching default values in parameters.py
      • LastNGames from 10 -> 0
      • Period from 1 -> 0
      • StartPeriod from 1 -> 0
      • EndPeriod from 1 -> 0
    Source code(tar.gz)
    Source code(zip)
  • v1.0.4(Sep 26, 2018)

  • v1.0.3(Sep 26, 2018)

    v1.0.3

    2018-09-25

    • Fixed a bug in find_team_name_by_id() in static/teams.

    v1.0.2

    2018-09-17

    • Added __all__ to the following file: nba_api/nba_api/stats/static/__init__.py

    v1.0.1

    2018-09-17

    • Added __init__.py to the following directory: nba_api/nba_api/stats/static

    v1.0.0

    2018-09-16

    • The initial release of nba_api.
    Source code(tar.gz)
    Source code(zip)
Owner
Swar Patel
/in/swar
Swar Patel
An API which returns random AOT quote everytime it's invoked

An API which returns random AOT quote everytime it's invoked

Nishant Sapkota 1 Feb 07, 2022
Scratch2py or S2py is a easy to use, versatile tool to communicate with the Scratch API Based of Scratch2py

Scratch2py Scratch2py or S2py is a easy to use, versatile tool to communicate with the Scratch API Based of Scratch2py Installation Run this command i

2 Jan 13, 2022
The source code of the bot that displays erotic images on Discord

説明 このコードはDiscord.pyとNeko APIを使ったNsfw画像表示ボットのソースコードです。 成人向けコンテンツを含むボットなので、不快になる方はこのボットの作成中止をおすすめします。 使い方 まず、install.batを起動してください。 そのあとに、config.json を開き

はなくそ 1 Dec 28, 2021
Dicha herramienta esta creada con una api... esta api permite enviar un SMS cada 12 horas dependiendo del pais... Hay algunos paises y operadoras no están soportados.

SMSFree pkg install python3 pip install requests git clone https://github.com/Hidden-parker/SMSFree cd SMSFree python sms.py DISFRUTA... Dicha herrami

piter 2 Nov 14, 2021
DonLee Robot

🤖 𝐃𝐎𝐍 𝐋𝐄𝐄 𝐑𝐎𝐁𝐎𝐓 𝐕𝟐 🤖 👋 Hey Muhammed, Iam DonLee RoBoT Make me an admin for your group and channel then connect me.... 🎉 🙂 To build a

Muhammed 27 Dec 01, 2022
Discord Unverified Token Gen

Discord-Unverified-Token-Gen This is a token gen that was made in an hour and just generates unverified tokens, most will be locked. Usage: in cmd jus

Aran 2 Oct 23, 2022
A link shortner telegram bot version 2 with advanced features

URL-Shortner-Bot-V2 A link shortner telegram bot version 2 with advanced features Made with Python3 (C) @FayasNoushad Copyright permission under MIT L

Fayas Noushad 18 Dec 29, 2022
Fully undetected auto skillcheck hack for dead by daylight that works decently well

Auto-skillcheck was made by Love ❌ code ✅ ❔ ・How to use Start off by installing python ofc Open cmd in the same directory and type pip install -r requ

Rdimo 10 Aug 13, 2022
Reddit bot that uses sentiment analysis

Reddit Bot Project 2: Neural Network Boogaloo Reddit bot that uses sentiment analysis from NLTK.VADER WIP_WIP_WIP_WIP_WIP_WIP Link to test subreddit:

TpK 1 Oct 24, 2021
A clean, easy to scale discord bot template

A clean, easy to scale discord bot template. Develope using nextcord library and can be use with any other discord.py forked library.

めがねこ 3 Mar 03, 2022
Framework for Telegram users and chats investigating.

telegram_scan Fantastic and full featured framework for Telegram users and chats investigating. Prerequisites: pip3 install pyrogram; get api_id and a

71 Dec 17, 2022
An API wrapper for the file.io web service.

🗃️ File.io An API wrapper for the file.io web service. Install $ pip3 install fileio or

nkot56297 1 Dec 18, 2021
checks anilist for available usernames (200rq/s)

Anilist checker Running the program Set a path to the extracted files Install the packages with pip install -r req.txt Run the script by typing python

gxzs 1 Oct 13, 2021
Python wrapper for the GitLab API

Python GitLab python-gitlab is a Python package providing access to the GitLab server API. It supports the v4 API of GitLab, and provides a CLI tool (

1.9k Dec 31, 2022
FTX auto lending bot with python

FTX auto lending bot Get the API key Check my article for step by step + screenshots Setup & Run Install python 3 Install dependency pip install -r re

Patompong Manprasatkul 1 Dec 24, 2021
Using DST's API with Python

A short guide on how to access Denmark's Statistics API with python, together with a helper class that facilitates the collection of data and metadata from any DST's table

Alessandro Martinello 16 Dec 02, 2022
Rapid Sms Bomber For Indian Number.

Bombzilla Rapid Sms Bomber For Indian Number. Installation git clone https://github.com/sarv99/Bombzilla cd Bombzilla chmod +x setup.sh ./setup.sh Af

Saurav Jangid 1 Jan 12, 2022
A web app via which users can buy and sell stocks using virtual money

finance Virtual Stock Trader. A web app via which users can buy and sell stocks using virtual money. All stock prices are real and provided by IEX. Fe

Kiron Deb 0 Jan 15, 2022
A telegram bot written in Python to fetch random SFW & NSFW anime images

Tsuzumi A telegram bot written in python to fetch both random SFW & NSFW Anime images using nekos.life & waifu.pics API Commands SFW Commands : /

Nisarga Adhikary 3 Oct 12, 2022
A simple worker for OpenClubhouse to sync data.

OpenClubhouse-Worker This is a simple worker for OpenClubhouse to sync CH channel data.

100 Dec 17, 2022