All Projects → swar → Nba_api

swar / Nba_api

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

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Nba api

restofus
Restofus - a cross-platform (REST) API client.
Stars: ✭ 18 (-97.96%)
Mutual labels:  http-client, api-client
tweetsOLAPing
implementing an end-to-end tweets ETL/Analysis pipeline.
Stars: ✭ 24 (-97.28%)
Mutual labels:  analysis, api-client
constyble
CSS complexity linter
Stars: ✭ 92 (-89.56%)
Mutual labels:  analysis, stats
Httpie
As easy as /aitch-tee-tee-pie/ 🥧 Modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. https://twitter.com/httpie
Stars: ✭ 53,052 (+5921.79%)
Mutual labels:  api-client, http-client
Insomnia
The open-source, cross-platform API client for GraphQL, REST, and gRPC.
Stars: ✭ 18,969 (+2053.12%)
Mutual labels:  api-client, http-client
dynamic-cli
A Modern, user-friendly command-line HTTP client for the API testing, and if you're stuck - Search and browse StackOverflow without leaving the CLI
Stars: ✭ 151 (-82.86%)
Mutual labels:  http-client, api-client
Taviloglu.Wrike.ApiClient
.NET Client for Wrike API
Stars: ✭ 24 (-97.28%)
Mutual labels:  http-client, api-client
RESTEasy
REST API calls made easier
Stars: ✭ 12 (-98.64%)
Mutual labels:  http-client, api-client
Wallace Cli
Pretty CSS analytics on the CLI
Stars: ✭ 281 (-68.1%)
Mutual labels:  analysis, stats
Php Curl Class
PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs
Stars: ✭ 2,903 (+229.51%)
Mutual labels:  api-client, http-client
Hoppscotch
👽 Open source API development ecosystem https://hoppscotch.io
Stars: ✭ 34,569 (+3823.84%)
Mutual labels:  api-client, http-client
Uplink
A Declarative HTTP Client for Python
Stars: ✭ 824 (-6.47%)
Mutual labels:  api-client, http-client
Sportsipy
A free sports API written for python
Stars: ✭ 229 (-74.01%)
Mutual labels:  nba, stats
NClient
💫 NClient is an automatic type-safe .Net HTTP client that allows you to call web service API methods using annotated interfaces or controllers without boilerplate code.
Stars: ✭ 25 (-97.16%)
Mutual labels:  http-client, api-client
keen-analysis.js
A light JavaScript client for Keen
Stars: ✭ 40 (-95.46%)
Mutual labels:  analysis, api-client
Nba
Node.js client for nba.com API endpoints
Stars: ✭ 637 (-27.7%)
Mutual labels:  nba, http-client
Curlie
The power of curl, the ease of use of httpie.
Stars: ✭ 877 (-0.45%)
Mutual labels:  api-client, http-client
Abclinuxuapi
API for http://abclinuxu.cz.
Stars: ✭ 8 (-99.09%)
Mutual labels:  api-client
Sooty
The SOC Analysts all-in-one CLI tool to automate and speed up workflow.
Stars: ✭ 867 (-1.59%)
Mutual labels:  analysis
Mongo schema
Python Package to provide a rough schema for the mongodb collection
Stars: ✭ 8 (-99.09%)
Mutual labels:  stats

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].