├── .github └── workflows │ ├── python-package.yml │ └── python-publish.yml ├── .gitignore ├── DOCUMENTATION.md ├── LICENSE ├── README.md ├── examples.py ├── requirements.txt ├── setup.py ├── tests ├── __init__.py ├── resources │ ├── game │ │ ├── game.json │ │ ├── game_weeks.json │ │ ├── games.json │ │ ├── old.json │ │ ├── position_types.json │ │ ├── roster_positions.json │ │ └── stat_categories.json │ ├── league │ │ ├── draftresults.json │ │ ├── meta.json │ │ ├── players.json │ │ ├── players_empty.json │ │ ├── players_with_draft_analysis.json │ │ ├── players_with_ownership.json │ │ ├── players_with_percent_owned.json │ │ ├── players_with_stats.json │ │ ├── scoreboard.json │ │ ├── scoreboard_nfl.json │ │ ├── settings.json │ │ ├── settings_nfl.json │ │ ├── standings.json │ │ ├── teams.json │ │ ├── transactions.json │ │ └── transactions_empty.json │ ├── team │ │ ├── matchups.json │ │ ├── meta.json │ │ ├── roster.json │ │ ├── roster_with_stats.json │ │ ├── standings.json │ │ ├── standings_with_divisions.json │ │ └── stats.json │ └── user │ │ ├── games.json │ │ ├── meta.json │ │ └── teams.json ├── test_api_authentication.py ├── test_auth_service.py ├── test_game_api.py ├── test_league_api.py ├── test_team_api.py └── test_user_api.py └── yfantasy_api ├── __init__.py ├── api ├── __init__.py ├── api.py ├── auth.py ├── game.py ├── league.py ├── team.py ├── terminal.py └── user.py └── models ├── __init__.py ├── common.py ├── game.py ├── helpers.py ├── league.py ├── transaction.py └── user.py /.github/workflows/python-package.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/.github/workflows/python-package.yml -------------------------------------------------------------------------------- /.github/workflows/python-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/.github/workflows/python-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/.gitignore -------------------------------------------------------------------------------- /DOCUMENTATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/DOCUMENTATION.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/README.md -------------------------------------------------------------------------------- /examples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/examples.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/game/game.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/game/game.json -------------------------------------------------------------------------------- /tests/resources/game/game_weeks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/game/game_weeks.json -------------------------------------------------------------------------------- /tests/resources/game/games.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/game/games.json -------------------------------------------------------------------------------- /tests/resources/game/old.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/game/old.json -------------------------------------------------------------------------------- /tests/resources/game/position_types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/game/position_types.json -------------------------------------------------------------------------------- /tests/resources/game/roster_positions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/game/roster_positions.json -------------------------------------------------------------------------------- /tests/resources/game/stat_categories.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/game/stat_categories.json -------------------------------------------------------------------------------- /tests/resources/league/draftresults.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/league/draftresults.json -------------------------------------------------------------------------------- /tests/resources/league/meta.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/league/meta.json -------------------------------------------------------------------------------- /tests/resources/league/players.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/league/players.json -------------------------------------------------------------------------------- /tests/resources/league/players_empty.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/league/players_empty.json -------------------------------------------------------------------------------- /tests/resources/league/players_with_draft_analysis.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/league/players_with_draft_analysis.json -------------------------------------------------------------------------------- /tests/resources/league/players_with_ownership.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/league/players_with_ownership.json -------------------------------------------------------------------------------- /tests/resources/league/players_with_percent_owned.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/league/players_with_percent_owned.json -------------------------------------------------------------------------------- /tests/resources/league/players_with_stats.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/league/players_with_stats.json -------------------------------------------------------------------------------- /tests/resources/league/scoreboard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/league/scoreboard.json -------------------------------------------------------------------------------- /tests/resources/league/scoreboard_nfl.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/league/scoreboard_nfl.json -------------------------------------------------------------------------------- /tests/resources/league/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/league/settings.json -------------------------------------------------------------------------------- /tests/resources/league/settings_nfl.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/league/settings_nfl.json -------------------------------------------------------------------------------- /tests/resources/league/standings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/league/standings.json -------------------------------------------------------------------------------- /tests/resources/league/teams.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/league/teams.json -------------------------------------------------------------------------------- /tests/resources/league/transactions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/league/transactions.json -------------------------------------------------------------------------------- /tests/resources/league/transactions_empty.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/league/transactions_empty.json -------------------------------------------------------------------------------- /tests/resources/team/matchups.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/team/matchups.json -------------------------------------------------------------------------------- /tests/resources/team/meta.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/team/meta.json -------------------------------------------------------------------------------- /tests/resources/team/roster.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/team/roster.json -------------------------------------------------------------------------------- /tests/resources/team/roster_with_stats.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/team/roster_with_stats.json -------------------------------------------------------------------------------- /tests/resources/team/standings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/team/standings.json -------------------------------------------------------------------------------- /tests/resources/team/standings_with_divisions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/team/standings_with_divisions.json -------------------------------------------------------------------------------- /tests/resources/team/stats.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/team/stats.json -------------------------------------------------------------------------------- /tests/resources/user/games.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/user/games.json -------------------------------------------------------------------------------- /tests/resources/user/meta.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/user/meta.json -------------------------------------------------------------------------------- /tests/resources/user/teams.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/resources/user/teams.json -------------------------------------------------------------------------------- /tests/test_api_authentication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/test_api_authentication.py -------------------------------------------------------------------------------- /tests/test_auth_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/test_auth_service.py -------------------------------------------------------------------------------- /tests/test_game_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/test_game_api.py -------------------------------------------------------------------------------- /tests/test_league_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/test_league_api.py -------------------------------------------------------------------------------- /tests/test_team_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/test_team_api.py -------------------------------------------------------------------------------- /tests/test_user_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/tests/test_user_api.py -------------------------------------------------------------------------------- /yfantasy_api/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/yfantasy_api/__init__.py -------------------------------------------------------------------------------- /yfantasy_api/api/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /yfantasy_api/api/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/yfantasy_api/api/api.py -------------------------------------------------------------------------------- /yfantasy_api/api/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/yfantasy_api/api/auth.py -------------------------------------------------------------------------------- /yfantasy_api/api/game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/yfantasy_api/api/game.py -------------------------------------------------------------------------------- /yfantasy_api/api/league.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/yfantasy_api/api/league.py -------------------------------------------------------------------------------- /yfantasy_api/api/team.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/yfantasy_api/api/team.py -------------------------------------------------------------------------------- /yfantasy_api/api/terminal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/yfantasy_api/api/terminal.py -------------------------------------------------------------------------------- /yfantasy_api/api/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/yfantasy_api/api/user.py -------------------------------------------------------------------------------- /yfantasy_api/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/yfantasy_api/models/__init__.py -------------------------------------------------------------------------------- /yfantasy_api/models/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/yfantasy_api/models/common.py -------------------------------------------------------------------------------- /yfantasy_api/models/game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/yfantasy_api/models/game.py -------------------------------------------------------------------------------- /yfantasy_api/models/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/yfantasy_api/models/helpers.py -------------------------------------------------------------------------------- /yfantasy_api/models/league.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/yfantasy_api/models/league.py -------------------------------------------------------------------------------- /yfantasy_api/models/transaction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/yfantasy_api/models/transaction.py -------------------------------------------------------------------------------- /yfantasy_api/models/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkyplyr/yfantasy-api/HEAD/yfantasy_api/models/user.py --------------------------------------------------------------------------------