https://github.com/mostafahima/nba-stats-scraper
A project that extracts comprehensive NBA game, player, and team data, storing it in CSV and JSON formats for analysis.
https://github.com/mostafahima/nba-stats-scraper
scraping-python
Last synced: 3 months ago
JSON representation
A project that extracts comprehensive NBA game, player, and team data, storing it in CSV and JSON formats for analysis.
- Host: GitHub
- URL: https://github.com/mostafahima/nba-stats-scraper
- Owner: MostafaHima
- License: other
- Created: 2024-11-26T23:23:37.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-27T00:06:00.000Z (6 months ago)
- Last Synced: 2024-12-28T16:50:03.575Z (5 months ago)
- Topics: scraping-python
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🏀 NBA Stats Scraper Project
## Description
A project to scrape and analyze statistical data of NBA players' box scores using Web Scraping techniques, with data stored in CSV and JSON formats for further analysis.## Features
- Comprehensive scraping of player statistics like points, assists, rebounds.
- Page navigation support to gather all available data.
- Multi-format storage (CSV and JSON).
- Well-structured code for future scalability.## Installation
1. Ensure Python 3.8 or later is installed.
2. Install required libraries:
`pip install -r requirements.txt`.## Usage
1. Open the project in Terminal.
2. Run the main file:
`python main.py`
3. Scraped data will be saved automatically in CSV and JSON files.## Technologies Used
- Python
- Selenium
- JSON and CSV for data storage
- Web Scraping for data extraction
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
##
## 🏀 مشروع NBA Stats Scraper
## وصف المشروع
مشروع لاستخراج وتحليل البيانات الإحصائية الخاصة بمباريات لاعبي الـ NBA باستخدام تقنيات Web Scraping، مع تخزين البيانات في صيغتي CSV و JSON لتحليلها لاحقًا.## المميزات
- استخراج شامل للبيانات الإحصائية مثل النقاط، التمريرات، المتابعات.
- دعم التنقل بين الصفحات لجمع كافة البيانات.
- تخزين متعدد الصيغ (CSV و JSON).
- كود منظم وقابل للتوسّع مستقبلاً.
## التثبيت
1. تأكد من تثبيت Python 3.8 أو أحدث.
2. قم بتثبيت المكتبات المطلوبة باستخدام:`pip install -r requirements.txt`.## كيفية الاستخدام
1. افتح المشروع باستخدام الـ Terminal.
2. شغّل الملف الرئيسي:
`python main.py`
3. البيانات المُجمّعة ستُخزّن تلقائيًا في ملفات CSV و JSON.
## التقنيات المستخدمة
- Python
- Selenium
- JSON و CSV لتخزين البيانات
- Web Scraping لتجميع البيانات
# حقوق الملكية (License)
- مرخّص باستخدام MIT License.
- اطّلع على الملف [LICENSE](LICENSE) لمزيد من التفاصيل.