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
PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

PRAW: The Python Reddit API Wrapper PRAW, an acronym for "Python Reddit API Wrapper", is a Python package that allows for simple access to Reddit's AP

Python Reddit API Wrapper Development 3k Dec 29, 2022
pyhakuna is a client to access the API of the time keeping service hakuna.ch.

pyhakuna pyhakuna is a client to access the API of the time keeping service hakuna.ch. The Hakuna API is – unfortunately – personal and currently does

Christian Mäder 1 Feb 15, 2022
A wrapper for The Movie Database API v3 and v4 that only uses the read access token (not api key).

fulltmdb A wrapper for The Movie Database API v3 and v4 that only uses the read access token (not api key). Installation Use the package manager pip t

Jacob Hale 2 Sep 26, 2021
🐍 The official Python client library for Google's discovery based APIs.

Google API Client This is the Python client library for Google's discovery based APIs. To get started, please see the docs folder. These client librar

Google APIs 6.2k Jan 8, 2023
The official Python client library for the Kite Connect trading APIs

The Kite Connect API Python client - v3 The official Python client for communicating with the Kite Connect API. Kite Connect is a set of REST-like API

Zerodha Technology 756 Jan 6, 2023
🐍 The official Python client library for Google's discovery based APIs.

Google API Client This is the Python client library for Google's discovery based APIs. To get started, please see the docs folder. These client librar

Google APIs 6.2k Dec 31, 2022
Python client for the iNaturalist APIs

pyinaturalist Introduction iNaturalist is a community science platform that helps people get involved in the natural world by observing and identifyin

Nicolas Noé 79 Dec 22, 2022
One version package to rule them all, One version package to find them, One version package to bring them all, and in the darkness bind them.

AwesomeVersion One version package to rule them all, One version package to find them, One version package to bring them all, and in the darkness bind

Joakim Sørensen 39 Dec 31, 2022
Actively maintained, pure Python wrapper for the Twitter API. Supports both normal and streaming Twitter APIs.

Twython Twython is a Python library providing an easy way to access Twitter data. Supports Python 3. It's been battle tested by companies, educational

Ryan McGrath 1.9k Jan 2, 2023
A Python library to access Instagram's private API.

Instagram Private API A Python wrapper for the Instagram private API with no 3rd party dependencies. Supports both the app and web APIs. Overview I wr

null 2.6k Jan 5, 2023
Unofficial instagram API, give you access to ALL instagram features (like, follow, upload photo and video and etc)! Write on python.

Instagram-API-python Unofficial Instagram API to give you access to ALL Instagram features (like, follow, upload photo and video, etc)! Written in Pyt

Vladimir Bezrukov 1 Nov 19, 2021
Basic query to access Traindex API

traindex-api-query Basic query to access Traindex API Please make sure to provide your Traindex API key to the line 8 in the script file. There are tw

Foretheta 1 Nov 11, 2021
wyscoutapi is an extremely basic API client for the Wyscout API (v2 & v3) for Python

wyscoutapi wyscoutapi is an extremely basic API client for the Wyscout API (v2 & v3). Usage Install with pip install wyscoutapi. To connect to the Wys

Ben Torvaney 11 Nov 22, 2022
Beyonic API Python official client library simplified examples using Flask, Django and Fast API.

Beyonic API Python official client library simplified examples using Flask, Django and Fast API.

Harun Mbaabu Mwenda 46 Sep 1, 2022
Python API Client for Twitter API v2

?? Python Client For Twitter API v2 ?? Why Twitter Stream ? Twitter-Stream.py a python API client for Twitter API v2 now supports FilteredStream, Samp

Twitivity 31 Nov 19, 2022
Python Package For MTN Zambia Momo API. This package can also be used by MTN momo in other countries.

MTN MoMo API Lite Python Client Power your apps with Lite-Python MTN MoMo API Usage Installation Add the latest version of the library to your project

Mathews Musukuma 7 Jan 1, 2023
Drcom-pt-client - Drcom Pt version client with refresh timer

drcom-pt-client Drcom Pt version client with refresh timer Dr.com Pt版本客户端 可用于网页认

null 4 Nov 16, 2022
Dns-Client-Server - Dns Client Server For Python

Dns-client-server DNS Server: supporting all types of queries and replies. Shoul

Nishant Badgujar 1 Feb 15, 2022
Raphtory-client - The python client for the Raphtory project

Raphtory Client This is the python client for the Raphtory project Install via p

Raphtory 5 Apr 28, 2022