https://github.com/xcaptain/nba_crawl
crawl nba player and team info
https://github.com/xcaptain/nba_crawl
Last synced: 3 months ago
JSON representation
crawl nba player and team info
- Host: GitHub
- URL: https://github.com/xcaptain/nba_crawl
- Owner: xcaptain
- Created: 2016-12-13T02:53:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-21T11:50:23.000Z (over 8 years ago)
- Last Synced: 2025-01-20T06:46:19.619Z (5 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nba_crawl
通过[https://github.com/seemethere/nba_py](https://github.com/seemethere/nba_py) 提供的接口获取nba信息### 依赖项:
1. pip3 install nba_py
2. pip3 install sqlalchemy
3. pip3 install pymysql
4. pip3 install pandas
5. pip3 install requests### 创建数据库:
1. create database test;2. GRANT ALL PRIVILEGES ON test . * TO 'user@'localhost';
3. FLUSH PRIVILEGES;
### 运行
1. python3 sync_player_info.py
2. python3 sync_team_info.py