diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6cf30b8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.idea/ +__pycache__/ +python_sbr.egg-info/ diff --git a/docs/_build/html/_static/documentation_options.js b/docs/_build/html/_static/documentation_options.js index 4740189..d2e2581 100644 --- a/docs/_build/html/_static/documentation_options.js +++ b/docs/_build/html/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), - VERSION: '0.3.2', + VERSION: '0.3.3', LANGUAGE: 'None', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/docs/_build/html/genindex.html b/docs/_build/html/genindex.html index b6d7785..087940e 100644 --- a/docs/_build/html/genindex.html +++ b/docs/_build/html/genindex.html @@ -7,7 +7,7 @@ - Index — PySBR 0.3.2 documentation + Index — PySBR 0.3.3 documentation diff --git a/docs/_build/html/index.html b/docs/_build/html/index.html index 1b65465..71de896 100644 --- a/docs/_build/html/index.html +++ b/docs/_build/html/index.html @@ -7,7 +7,7 @@ - Welcome to PySBR’s documentation! — PySBR 0.3.2 documentation + Welcome to PySBR’s documentation! — PySBR 0.3.3 documentation diff --git a/docs/_build/html/modules.html b/docs/_build/html/modules.html index 14b8ced..144d742 100644 --- a/docs/_build/html/modules.html +++ b/docs/_build/html/modules.html @@ -7,7 +7,7 @@ - pysbr — PySBR 0.3.2 documentation + pysbr — PySBR 0.3.3 documentation diff --git a/docs/_build/html/py-modindex.html b/docs/_build/html/py-modindex.html index 8809f1c..553f5f0 100644 --- a/docs/_build/html/py-modindex.html +++ b/docs/_build/html/py-modindex.html @@ -7,7 +7,7 @@ - Python Module Index — PySBR 0.3.2 documentation + Python Module Index — PySBR 0.3.3 documentation diff --git a/docs/_build/html/pysbr.config.html b/docs/_build/html/pysbr.config.html index e920eb6..dd7654f 100644 --- a/docs/_build/html/pysbr.config.html +++ b/docs/_build/html/pysbr.config.html @@ -7,7 +7,7 @@ - pysbr.config package — PySBR 0.3.2 documentation + pysbr.config package — PySBR 0.3.3 documentation diff --git a/docs/_build/html/pysbr.html b/docs/_build/html/pysbr.html index d0ba524..8df4669 100644 --- a/docs/_build/html/pysbr.html +++ b/docs/_build/html/pysbr.html @@ -7,7 +7,7 @@ - pysbr package — PySBR 0.3.2 documentation + pysbr package — PySBR 0.3.3 documentation diff --git a/docs/_build/html/pysbr.queries.html b/docs/_build/html/pysbr.queries.html index 6bb9f6c..272956d 100644 --- a/docs/_build/html/pysbr.queries.html +++ b/docs/_build/html/pysbr.queries.html @@ -7,7 +7,7 @@ - pysbr.queries package — PySBR 0.3.2 documentation + pysbr.queries package — PySBR 0.3.3 documentation diff --git a/docs/_build/html/search.html b/docs/_build/html/search.html index 8d6df46..35d8b62 100644 --- a/docs/_build/html/search.html +++ b/docs/_build/html/search.html @@ -7,7 +7,7 @@ - Search — PySBR 0.3.2 documentation + Search — PySBR 0.3.3 documentation diff --git a/docs/conf.py b/docs/conf.py index a65942f..4db207f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -25,7 +25,7 @@ author = "Jeremy Morrison" # The full version, including alpha/beta/rc tags -release = "0.3.2" +release = "0.3.3" # -- General configuration --------------------------------------------------- diff --git a/pysbr/__init__.py b/pysbr/__init__.py index 5671bd7..49f141b 100644 --- a/pysbr/__init__.py +++ b/pysbr/__init__.py @@ -43,6 +43,7 @@ Bundesliga, UEFANationsLeague, ATP, + WTA, UFC, BrasileiroSerieA, Eredivisie, diff --git a/pysbr/config/sport.py b/pysbr/config/sport.py index 81e3756..044de59 100644 --- a/pysbr/config/sport.py +++ b/pysbr/config/sport.py @@ -619,6 +619,13 @@ def __init__(self): super().__init__("tennis", "atp") +class WTA(League): + """Provides access to WTA config files.""" + + def __init__(self): + super().__init__("tennis", "wta") + + class UFC(League): """Provides access to UFC config files.""" diff --git a/pysbr/config/wta.yaml b/pysbr/config/wta.yaml new file mode 100644 index 0000000..9e6eee5 --- /dev/null +++ b/pysbr/config/wta.yaml @@ -0,0 +1,3 @@ +lid: 24 +name: WTA Tour +abbreviation: WTA diff --git a/pysbr/queries/lines.py b/pysbr/queries/lines.py index 42a63ec..4551bc0 100644 --- a/pysbr/queries/lines.py +++ b/pysbr/queries/lines.py @@ -8,6 +8,7 @@ NFL, NCAAF, ATP, + WTA, Bundesliga, EPL, LaLiga, @@ -55,6 +56,7 @@ def __init__(self): 16: NFL, 6: NCAAF, 23: ATP, + 24: WTA, 11: Bundesliga, 2: EPL, 17: LaLiga, diff --git a/setup.py b/setup.py index 931be9e..cc5cf7d 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name="python-sbr", - version="0.3.2", + version="0.3.3", description="Access the SportsbookReview GraphQL endpoint.", long_description=README, long_description_content_type="text/markdown",