Skip to content
This repository was archived by the owner on Jul 4, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea/
__pycache__/
python_sbr.egg-info/
2 changes: 1 addition & 1 deletion docs/_build/html/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>Index &mdash; PySBR 0.3.2 documentation</title>
<title>Index &mdash; PySBR 0.3.3 documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>Welcome to PySBR’s documentation! &mdash; PySBR 0.3.2 documentation</title>
<title>Welcome to PySBR’s documentation! &mdash; PySBR 0.3.3 documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/modules.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>pysbr &mdash; PySBR 0.3.2 documentation</title>
<title>pysbr &mdash; PySBR 0.3.3 documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>Python Module Index &mdash; PySBR 0.3.2 documentation</title>
<title>Python Module Index &mdash; PySBR 0.3.3 documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/pysbr.config.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>pysbr.config package &mdash; PySBR 0.3.2 documentation</title>
<title>pysbr.config package &mdash; PySBR 0.3.3 documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/pysbr.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>pysbr package &mdash; PySBR 0.3.2 documentation</title>
<title>pysbr package &mdash; PySBR 0.3.3 documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/pysbr.queries.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>pysbr.queries package &mdash; PySBR 0.3.2 documentation</title>
<title>pysbr.queries package &mdash; PySBR 0.3.3 documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>Search &mdash; PySBR 0.3.2 documentation</title>
<title>Search &mdash; PySBR 0.3.3 documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions pysbr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
Bundesliga,
UEFANationsLeague,
ATP,
WTA,
UFC,
BrasileiroSerieA,
Eredivisie,
Expand Down
7 changes: 7 additions & 0 deletions pysbr/config/sport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""

Expand Down
3 changes: 3 additions & 0 deletions pysbr/config/wta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
lid: 24
name: WTA Tour
abbreviation: WTA
2 changes: 2 additions & 0 deletions pysbr/queries/lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
NFL,
NCAAF,
ATP,
WTA,
Bundesliga,
EPL,
LaLiga,
Expand Down Expand Up @@ -55,6 +56,7 @@ def __init__(self):
16: NFL,
6: NCAAF,
23: ATP,
24: WTA,
11: Bundesliga,
2: EPL,
17: LaLiga,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down