An open API service indexing awesome lists of open source software.

https://github.com/pysiakk/nba-salary-scraper

This repo contains a script for scraping NBA players' salaries from ESPN page.
https://github.com/pysiakk/nba-salary-scraper

Last synced: 3 months ago
JSON representation

This repo contains a script for scraping NBA players' salaries from ESPN page.

Awesome Lists containing this project

README

        

# NBA-Salary-Scraper
This repo contains a script for scraping NBA players' salaries from ESPN page.

## Usage

```python
salary_scrape(year)
```

## Output

`Pandas.DataFrame` containing a position in the salary ranking, the name of a player, the team of a player and his salary in dollars.

## Examples

```python
l = salary_scrape(2019)
print(sal.iloc[0])
```

```python
RK 1
NAME Stephen Curry
TEAM Golden State Warriors
SALARY 40231758
Name: 0, dtype: object
```