Skip to content

Commit

Permalink
Updating README
Browse files Browse the repository at this point in the history
  • Loading branch information
swar committed Apr 7, 2019
1 parent 0ed624e commit 22ac603
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,7 @@ Please feel free to contribute and have an open discussion regarding improvement


#### Recent Changes
* Adding individual proxy, headers, and timeout support for requests.

```python
from nba_api.stats.endpoints import commonplayerinfo

# Regular Request
player_info = commonplayerinfo.CommonPlayerInfo(player_id=2544)

# Proxy Support, Custom Headers Support, Timeout Support
player_info = commonplayerinfo.CommonPlayerInfo(player_id=2544, proxy='127.0.0.1:80', headers={'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36'}, timeout=100)
```
* Adding individual proxy, headers, and timeout support for requests. [Usage](https://github.com/swar/nba_api/blob/master/docs/nba_api/stats/examples.md)


#### Mapped API Clients
Expand Down

0 comments on commit 22ac603

Please sign in to comment.