Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
cwendt94 committed Mar 22, 2020
1 parent aec589c commit dd6f3e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
![](https://github.com/cwendt94/espn-api/workflows/Espn%20API/badge.svg)
![](https://github.com/cwendt94/espn-api/workflows/Espn%20API%20Integration%20Test/badge.svg) [![codecov](https://codecov.io/gh/cwendt94/ff-espn-api/branch/master/graphs/badge.svg)](https://codecov.io/gh/cwendt94/ff-espn-api) [![Join the chat at https://gitter.im/ff-espn-api/community](https://badges.gitter.im/ff-espn-api/community.svg)](https://gitter.im/ff-espn-api/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![PyPI version](https://badge.fury.io/py/espn-api.svg)](https://badge.fury.io/py/espn-api)
![](https://github.com/cwendt94/espn-api/workflows/Espn%20API%20Integration%20Test/badge.svg) [![codecov](https://codecov.io/gh/cwendt94/espn-api/branch/master/graphs/badge.svg)](https://codecov.io/gh/cwendt94/espn-api) [![Join the chat at https://gitter.im/ff-espn-api/community](https://badges.gitter.im/ff-espn-api/community.svg)](https://gitter.im/ff-espn-api/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![PyPI version](https://badge.fury.io/py/espn-api.svg)](https://badge.fury.io/py/espn-api)

# ff-espn-api -> espn-api
## ESPN API
Expand Down Expand Up @@ -32,7 +32,7 @@ from espn_api.basketball import League
# Init
league = League(league_id=222, year=2019, username='username', password='password')
```
[For more usage and API details head over to the Wiki!](https://github.com/cwendt94/ff-espn-api/wiki)
[For more usage and API details head over to the Wiki!](https://github.com/cwendt94/espn-api/wiki)

### Run Tests
```
Expand All @@ -42,7 +42,7 @@ python3 setup.py nosetests
## Issue Reporting
If you find a bug follow the steps below for reporting.

1. Open a [new issue](https://github.com/cwendt94/ff-espn-api/issues) with a brief description of the bug for the title. In the title also add which sport (Football or Basketball)
1. Open a [new issue](https://github.com/cwendt94/espn-api/issues) with a brief description of the bug for the title. In the title also add which sport (Football or Basketball)

2. Run the application in debug mode to view ESPN API request's and response's
```python
Expand Down
2 changes: 0 additions & 2 deletions espn_api/requests/espn_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ def checkRequestStatus(status: int) -> None:
elif status != 200:
raise Exception('Unknown %s Error' % status)

# thoughts decorators, always use league endpoint and then decator does generic?? Prob??

class EspnFantasyRequests(object):
def __init__(self, sport: str, year: int, league_id: int, cookies: dict = None, logger: Logger = None):
if sport not in FANTASY_SPORTS:
Expand Down

0 comments on commit dd6f3e5

Please sign in to comment.