NBA data Scrapper for stats analysis
Project description
FU-Scrapper
This package allow you to get data in csv format optimized for data analysis
Python tool that can save you a lot of time in research and modeling data for analysis. Here you can extract data from any listed source like NBA data and put it into a csv file.
Features
NBA api
- Player stats data
- Team stats data
- Game stats data
- Game details stats data
- Ranking data
More comming soon ...
Installation
Use python package manager to install fu-scrapper (pip) :
pip install fu-scrapper
You can find this package available on PyPi here.
Usage
Initialize the source that you need and use the functions provided by the package :
# import and precise the source
# in our case it's nba
from fu-scrapper.nba.players import Players
from fu-scrapper.nba.teams import Teams
if __name__ = '__main__':
# Player class instantiation
players = Players()
# All players general stats into csv file
players.extract_players()
# team class instantiation
teams = Teams()
# All teams total stats into csv file
teams.extract_teams_details()
Functions
NBA Api
function | descritpion |
---|---|
players.extract_players() |
Extract all players informations and global stats for the current season into a csv file |
teams.extract_teams() |
Extract all teams informations and global stats for the current season into a csv file |
teams.extract_teams_details() |
Extract all teams details by games |
games.next_week_games() |
Get informations of all next week games into csv file |
games.last_week_games() |
Get all last week game details |
games.today_games() |
Get listing of today games into csv file |
games.new_games() |
Get all new game stats and ranking into a csv file |
License
Copyright (c) 2021 Fujyn
Licensed under the MIT license.
Contributing
Bugs & New Features
Please use the issue tracker to report any bugs or feature requests.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fu_scrapper-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e63eac8d5688e8405f97216756c7617c5a54480732bfd0fce3813fa45184ca6f |
|
MD5 | 5a9c44723dd8349c06d428319edf2555 |
|
BLAKE2b-256 | b797e08e1ea13224e55369afdae38a9baf014782a9f857f5798edea1c9eeb6a9 |