czapi


Nameczapi JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://github.com/calicorob/czapi/tree/master/
SummaryCurlingZone scraper API.
upload_time2023-06-23 03:57:43
maintainer
docs_urlNone
authorRobert Currie
requires_python>=3.6
licenseApache Software License 2.0
keywords curling stats
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Welcome to czapi
> A basic API for scraping curling boxscores off of the popular <a href='https://www.curlingzone.com'>CurlingZone</a> website. 


## Install

```
pip install czapi
```

## How to use

```python
import czapi.api as api
```

## LinescorePage
czapi is based around the `LinescorePage` object which represents a linescore page on the CurlingZone website. 

Click [here](https://curlingzone.com/event.php?view=Scores&eventid=7795#1) to see an example linescore page.

Creating an instance of the `LinescorePage` class gives access to every boxscore on that linescore page.

```python
linescore_page = api.LinescorePage(cz_event_id = 6400, cz_draw_id = 2)
```

The `cz_event_id` and `cz_draw_id` arguments are found in the CurlingZone URL. 

Here's an example:
> ht<span>t</span>ps://curlingzone.com/event.php?**eventid=7795**&view=Scores&show**drawid=21**#1

The boxscores on the linescore page can be accessed through the `boxscores` property which returns a list of boxscores.

```python
linescore_page.boxscores
```




    [{'Wayne Tuck Jr.': {'draw': 'Draw: 2',
       'draw_num': 2,
       'href': 'event.php?view=Team&eventid=6400&teamid=144353&profileid=12486#1',
       'score': ['0', '2', '0', '0', '0', '0', '1', '1', '1', '0'],
       'hammer': True,
       'finalscore': '5'},
      'Matthew Hall': {'draw': 'Draw: 2',
       'draw_num': 2,
       'href': 'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',
       'score': ['0', '0', '4', '0', '0', '1', '0', '0', '0', '2'],
       'hammer': False,
       'finalscore': '7'}},
     {'Dayna Deruelle': {'draw': 'Draw: 2',
       'draw_num': 2,
       'href': 'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144346&profileid=26636#1',
       'score': ['0', '0', '1', '0', '0', '0', '0', 'X'],
       'hammer': False,
       'finalscore': '1'},
      'Tyler Stewart': {'draw': 'Draw: 2',
       'draw_num': 2,
       'href': 'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144352&profileid=12477#1',
       'score': ['0', '2', '0', '2', '1', '1', '4', 'X'],
       'hammer': True,
       'finalscore': '10'}},
     {'Mark Kean': {'draw': 'Draw: 2',
       'draw_num': 2,
       'href': 'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144348&profileid=25961#1',
       'score': ['2', '0', '1', '0', '0', '0', '1', '3', 'X'],
       'hammer': True,
       'finalscore': '7'},
      'Jason March': {'draw': 'Draw: 2',
       'draw_num': 2,
       'href': 'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144350#1',
       'score': ['0', '0', '0', '0', '2', '1', '0', '0', 'X'],
       'hammer': False,
       'finalscore': '3'}},
     {'Richard Krell': {'draw': 'Draw: 2',
       'draw_num': 2,
       'href': 'event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144349&profileid=25962#1',
       'score': ['2', '0', '1', '0', '2', '1', '1', 'X'],
       'hammer': True,
       'finalscore': '7'},
      'Rob Ainsley': {'draw': 'Draw: 2',
       'draw_num': 2,
       'href': 'event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144345&profileid=15779#1',
       'score': ['0', '0', '0', '1', '0', '0', '0', 'X'],
       'hammer': False,
       'finalscore': '1'}}]



A boxscore is returned as a dictionary of team names, game information dictionary key, value pairs.

Each game information dictionary contains:

* 'href' key with a corresponding string value of CurlingZone IDs identifying the team.
* 'hammer' key with corresponding boolean value of whether or not that team started the game with hammer.
* 'score' key with corresponding list of string value of end-by-end results for that team.
* 'finalscore' key with corresponding final score for the team.
* 'draw_num' key with corresponding draw number for the game.
* 'draw' key with corresponding draw. 

Individual boxscores can be accessed through the `get_boxscore_from` method.

```python
boxscore = linescore_page.get_boxscore_from(cz_game_id = 1)
boxscore
```




    {'Wayne Tuck Jr.': {'draw': 'Draw: 2',
      'draw_num': 2,
      'href': 'event.php?view=Team&eventid=6400&teamid=144353&profileid=12486#1',
      'score': ['0', '2', '0', '0', '0', '0', '1', '1', '1', '0'],
      'hammer': True,
      'finalscore': '5'},
     'Matthew Hall': {'draw': 'Draw: 2',
      'draw_num': 2,
      'href': 'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',
      'score': ['0', '0', '4', '0', '0', '1', '0', '0', '0', '2'],
      'hammer': False,
      'finalscore': '7'}}



`cz_game_id` argument corresponds to the number the boxscore appears in on the linescore page.

The LinescorePage object contains these properties which details information on the boxscores:

* event_name
* event_date
* draw
* draw number

```python
print(linescore_page.event_name,',',linescore_page.event_date)
```

    Ontario Tankard - Open Qualifier , Jan 17 - 19, 2020
    

For convenience, upon instantiation of a `LinescorePage` object, a `NormalizedBoxscore` instance for each boxscore is created. A `NormalizedBoxscore` holds the same information as a boxscore dictionary with two new pieces of information added: 
1. The hammer progression for both teams throughout the game, i.e. who had hammer in what end.
2. Each team's relative score, i.e. who was up/down X after end Y.

```python
normalized_boxscore = linescore_page.get_normalized_boxscore_from(cz_game_id = 1)
normalized_boxscore
```




    NormalizedBoxscore(boxscore={'Wayne Tuck Jr.': {'draw': 'Draw: 2', 'draw_num': 2, 'href': 'event.php?view=Team&eventid=6400&teamid=144353&profileid=12486#1', 'score': ['0', '2', '0', '0', '0', '0', '1', '1', '1', '0'], 'hammer': True, 'finalscore': '5'}, 'Matthew Hall': {'draw': 'Draw: 2', 'draw_num': 2, 'href': 'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1', 'score': ['0', '0', '4', '0', '0', '1', '0', '0', '0', '2'], 'hammer': False, 'finalscore': '7'}})



A `NormalizedBoxscore` object holds two `NormalizedHalfBoxscore` instances. 

```python
normalized_boxscore.normalized_half_boxscore_pair[0]
```




    NormalizedHalfBoxscore(team_name='Wayne Tuck Jr.', href='event.php?view=Team&eventid=6400&teamid=144353&profileid=12486#1', hammer=True, score=['0', '2', '0', '0', '0', '0', '1', '1', '1', '0'], finalscore='5', draw_num=2, draw='Draw: 2', hammer_progression=[True, True, False, True, True, True, True, False, False, False], normalized_score=[0, 0, 2, -2, -2, -2, -3, -2, -1, 0])



For Wayne Tuck Jr. the `hammer_progression` attribute can be interpreted as follows: 

* End 1: Wayne had hammer
* End 2: Wayne had hammer
* End 3: Wayne didn't have hammer
* And so on and so forth..

```python
normalized_boxscore.normalized_half_boxscore_pair[-1]
```




    NormalizedHalfBoxscore(team_name='Matthew Hall', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1', hammer=False, score=['0', '0', '4', '0', '0', '1', '0', '0', '0', '2'], finalscore='7', draw_num=2, draw='Draw: 2', hammer_progression=[False, False, True, False, False, False, False, True, True, True], normalized_score=[0, 0, -2, 2, 2, 2, 3, 2, 1, 0])



For Matthew Hall, the `normalized_score` attribute can be interpreted as follows:

* The score was tied in the first end (obviously).
* The score was tied in the second end.
* In the 3rd end, Matthew was down 2.
* In the 4th end, Matthew was up 2 after taking 4.
* And so on and so forth..

You'll also notice the `NormalizedBoxscore` object has a guid property which identifies that two `NormalizedHalfBoxscore` belong to the same game.

```python
normalized_boxscore.guid
```




    129690655252279755696295239689104705205



czapi's `get_flat_boxscores_from` function takes a `cz_event_id` and `cz_draw_id` as an arguments and returns a (flat) nested list object of all the boxscore information on the linescore page. This nested list object can be ingested into a pandas DataFrame or pushed to a SQL database.

```python
api.get_flat_boxscores_from(cz_event_id = 6400, cz_draw_id = 2)
```




    [('Wayne Tuck Jr.',
      'event.php?view=Team&eventid=6400&teamid=144353&profileid=12486#1',
      True,
      ['0', '2', '0', '0', '0', '0', '1', '1', '1', '0'],
      '5',
      2,
      'Draw: 2',
      [True, True, False, True, True, True, True, False, False, False],
      [0, 0, 2, -2, -2, -2, -3, -2, -1, 0],
      296656328202528204780428618855733007061),
     ('Matthew Hall',
      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',
      False,
      ['0', '0', '4', '0', '0', '1', '0', '0', '0', '2'],
      '7',
      2,
      'Draw: 2',
      [False, False, True, False, False, False, False, True, True, True],
      [0, 0, -2, 2, 2, 2, 3, 2, 1, 0],
      296656328202528204780428618855733007061),
     ('Dayna Deruelle',
      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144346&profileid=26636#1',
      False,
      ['0', '0', '1', '0', '0', '0', '0', 'X'],
      '1',
      2,
      'Draw: 2',
      [False, False, True, False, True, True, True, True],
      [0, 0, -2, -1, -3, -4, -5, -9],
      105249071225393527432485074456849437076),
     ('Tyler Stewart',
      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144352&profileid=12477#1',
      True,
      ['0', '2', '0', '2', '1', '1', '4', 'X'],
      '10',
      2,
      'Draw: 2',
      [True, True, False, True, False, False, False, False],
      [0, 0, 2, 1, 3, 4, 5, 9],
      105249071225393527432485074456849437076),
     ('Mark Kean',
      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144348&profileid=25961#1',
      True,
      ['2', '0', '1', '0', '0', '0', '1', '3', 'X'],
      '7',
      2,
      'Draw: 2',
      [True, False, False, False, False, True, True, False, False],
      [0, 2, 2, 3, 3, 1, 0, 1, 4],
      17103980631020054974876512539607901632),
     ('Jason March',
      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144350#1',
      False,
      ['0', '0', '0', '0', '2', '1', '0', '0', 'X'],
      '3',
      2,
      'Draw: 2',
      [False, True, True, True, True, False, False, True, True],
      [0, -2, -2, -3, -3, -1, 0, -1, -4],
      17103980631020054974876512539607901632),
     ('Richard Krell',
      'event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144349&profileid=25962#1',
      True,
      ['2', '0', '1', '0', '2', '1', '1', 'X'],
      '7',
      2,
      'Draw: 2',
      [True, False, False, False, True, False, False, False],
      [0, 2, 2, 3, 2, 4, 5, 6],
      215489388707487834967933616755032135426),
     ('Rob Ainsley',
      'event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144345&profileid=15779#1',
      False,
      ['0', '0', '0', '1', '0', '0', '0', 'X'],
      '1',
      2,
      'Draw: 2',
      [False, True, True, True, False, True, True, True],
      [0, -2, -2, -3, -2, -4, -5, -6],
      215489388707487834967933616755032135426)]



## Event

The `Event` object is a data structure which holds all of the `LinescorePage` objects which make up an entire event. 

An `Event` instance is created by passing a `cz_event_id`.

```python
event = api.Event(cz_event_id = 6400,delay=3,verbose=True)
event
```

    Scraping draw 1.
    Scraping draw 2.
    Scraping draw 3.
    Scraping draw 4.
    Scraping draw 5.
    Scraping draw 6.
    Scraping draw 7.
    




    Event(cz_event_id=6400, delay=3, verbose=True)



The created `Event` objects holds all the `LinescorePage` objects in it's `pages` property.

```python
event.pages
```




    [LinescorePage(cz_event_id=6400, cz_draw_id=1),
     LinescorePage(cz_event_id=6400, cz_draw_id=2),
     LinescorePage(cz_event_id=6400, cz_draw_id=3),
     LinescorePage(cz_event_id=6400, cz_draw_id=4),
     LinescorePage(cz_event_id=6400, cz_draw_id=5),
     LinescorePage(cz_event_id=6400, cz_draw_id=6),
     LinescorePage(cz_event_id=6400, cz_draw_id=7)]



Details about specific draws can be accessed by grabbing the correct LinescorePage.

```python
event.pages[2]
```




    LinescorePage(cz_event_id=6400, cz_draw_id=3)



```python
event.pages[2].boxscores
```




    [{'Matthew Hall': {'draw': 'Draw: 3',
       'draw_num': 3,
       'href': 'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',
       'score': ['0', '0', '2', '1', '2', '1', '0', '2', 'X'],
       'hammer': True,
       'finalscore': '8'},
      'Tyler Stewart': {'draw': 'Draw: 3',
       'draw_num': 3,
       'href': 'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477#1',
       'score': ['0', '1', '0', '0', '0', '0', '2', '0', 'X'],
       'hammer': False,
       'finalscore': '3'}},
     {'Mark Kean': {'draw': 'Draw: 3',
       'draw_num': 3,
       'href': 'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144348&profileid=25961#1',
       'score': ['0', '5', '0', '1', '1', '1', 'X'],
       'hammer': True,
       'finalscore': '8'},
      'Richard Krell': {'draw': 'Draw: 3',
       'draw_num': 3,
       'href': 'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144349&profileid=25962#1',
       'score': ['1', '0', '1', '0', '0', '0', 'X'],
       'hammer': False,
       'finalscore': '2'}},
     {'Damien Villard': {'draw': 'Draw: 3',
       'draw_num': 3,
       'href': 'event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144354&profileid=27373#1',
       'score': ['2', '1', '0', '1', '0', '0', '1', '0', '0', '0'],
       'hammer': True,
       'finalscore': '5'},
      'Sam Steep': {'draw': 'Draw: 3',
       'draw_num': 3,
       'href': 'event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144351&profileid=25978#1',
       'score': ['0', '0', '1', '0', '2', '0', '0', '1', '1', '1'],
       'hammer': False,
       'finalscore': '6'}},
     {'Jason March': {'draw': 'Draw: 3',
       'draw_num': 3,
       'href': 'event.php?view=Team&eventid=6400&teamid=144351&profileid=25978&eventid=6400&teamid=144350#1',
       'score': ['1', '1', '0', '0', '0', '0', '2', '1', '2', 'X'],
       'hammer': True,
       'finalscore': '7'},
      'Matthew Mepstead': {'draw': 'Draw: 3',
       'draw_num': 3,
       'href': 'event.php?view=Team&eventid=6400&teamid=144351&profileid=25978&eventid=6400&teamid=144356#1',
       'score': ['0', '0', '1', '1', '0', '0', '0', '0', '0', 'X'],
       'hammer': False,
       'finalscore': '2'}},
     {'Wayne Tuck Jr.': {'draw': 'Draw: 3',
       'draw_num': 3,
       'href': 'event.php?view=Team&eventid=6400&teamid=144356&profileid=0&eventid=6400&teamid=144353&profileid=12486#1',
       'score': ['0', '0', '0', '2', '0', '0', '0', '0', 'X'],
       'hammer': False,
       'finalscore': '2'},
      'Rob Ainsley': {'draw': 'Draw: 3',
       'draw_num': 3,
       'href': 'event.php?view=Team&eventid=6400&teamid=144356&profileid=0&eventid=6400&teamid=144345&profileid=15779#1',
       'score': ['2', '1', '0', '0', '1', '2', '1', '1', 'X'],
       'hammer': True,
       'finalscore': '8'}}]



The `get_flat_boxscores` method can be used to return a list of tuples of all the boxscore information on all the linescore pages.

```python
event.get_flat_boxscores(flat=True)
```




    [('Damien Villard',
      'event.php?view=Team&eventid=6400&teamid=144354&profileid=27373#1',
      True,
      ['0', '0', '0', '0', 'X'],
      '0',
      1,
      'Draw: 1',
      [True, True, True, True, True],
      [0, -1, -4, -6, -8],
      209707243860236114112314247393927711356),
     ('Matthew Hall',
      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',
      False,
      ['1', '3', '2', '2', 'X'],
      '8',
      1,
      'Draw: 1',
      [False, False, False, False, False],
      [0, 1, 4, 6, 8],
      209707243860236114112314247393927711356),
     ('Matthew Mepstead',
      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144356#1',
      False,
      ['0', '0', '1', '1', '0', '1', '0', '0', '0', '1', '0'],
      '4',
      1,
      'Draw: 1',
      [False, False, True, False, False, True, False, False, False, True, False],
      [0, 0, -2, -1, 0, -1, 0, 0, 0, -1, 0],
      38537103347544582345141893615297919005),
     ('Tyler Stewart',
      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144352&profileid=12477#1',
      True,
      ['0', '2', '0', '0', '1', '0', '0', '0', '1', '0', '1'],
      '5',
      1,
      'Draw: 1',
      [True, True, False, True, True, False, True, True, True, False, True],
      [0, 0, 2, 1, 0, 1, 0, 0, 0, 1, 0],
      38537103347544582345141893615297919005),
     ('Jason March',
      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144350#1',
      False,
      ['0', '2', '0', '1', '0', '2', '2', '0', '2', 'X'],
      '9',
      1,
      'Draw: 1',
      [False, False, False, False, False, True, False, False, True, False],
      [0, 0, 2, 2, 3, 2, 4, 6, 3, 5],
      272348649831484335603593027216985821953),
     ('Sam Steep',
      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144351&profileid=25978#1',
      True,
      ['0', '0', '0', '0', '1', '0', '0', '3', '0', 'X'],
      '4',
      1,
      'Draw: 1',
      [True, True, True, True, True, False, True, True, False, True],
      [0, 0, -2, -2, -3, -2, -4, -6, -3, -5],
      272348649831484335603593027216985821953),
     ('Wayne Tuck Jr.',
      'event.php?view=Team&eventid=6400&teamid=144353&profileid=12486#1',
      True,
      ['0', '2', '0', '0', '0', '0', '1', '1', '1', '0'],
      '5',
      2,
      'Draw: 2',
      [True, True, False, True, True, True, True, False, False, False],
      [0, 0, 2, -2, -2, -2, -3, -2, -1, 0],
      95112284881200216258215191883153462659),
     ('Matthew Hall',
      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',
      False,
      ['0', '0', '4', '0', '0', '1', '0', '0', '0', '2'],
      '7',
      2,
      'Draw: 2',
      [False, False, True, False, False, False, False, True, True, True],
      [0, 0, -2, 2, 2, 2, 3, 2, 1, 0],
      95112284881200216258215191883153462659),
     ('Dayna Deruelle',
      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144346&profileid=26636#1',
      False,
      ['0', '0', '1', '0', '0', '0', '0', 'X'],
      '1',
      2,
      'Draw: 2',
      [False, False, True, False, True, True, True, True],
      [0, 0, -2, -1, -3, -4, -5, -9],
      59643628877953807377369574857821892232),
     ('Tyler Stewart',
      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144352&profileid=12477#1',
      True,
      ['0', '2', '0', '2', '1', '1', '4', 'X'],
      '10',
      2,
      'Draw: 2',
      [True, True, False, True, False, False, False, False],
      [0, 0, 2, 1, 3, 4, 5, 9],
      59643628877953807377369574857821892232),
     ('Mark Kean',
      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144348&profileid=25961#1',
      True,
      ['2', '0', '1', '0', '0', '0', '1', '3', 'X'],
      '7',
      2,
      'Draw: 2',
      [True, False, False, False, False, True, True, False, False],
      [0, 2, 2, 3, 3, 1, 0, 1, 4],
      122217858840490332010920244446431255640),
     ('Jason March',
      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144350#1',
      False,
      ['0', '0', '0', '0', '2', '1', '0', '0', 'X'],
      '3',
      2,
      'Draw: 2',
      [False, True, True, True, True, False, False, True, True],
      [0, -2, -2, -3, -3, -1, 0, -1, -4],
      122217858840490332010920244446431255640),
     ('Richard Krell',
      'event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144349&profileid=25962#1',
      True,
      ['2', '0', '1', '0', '2', '1', '1', 'X'],
      '7',
      2,
      'Draw: 2',
      [True, False, False, False, True, False, False, False],
      [0, 2, 2, 3, 2, 4, 5, 6],
      335702133606077232579627915311442373664),
     ('Rob Ainsley',
      'event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144345&profileid=15779#1',
      False,
      ['0', '0', '0', '1', '0', '0', '0', 'X'],
      '1',
      2,
      'Draw: 2',
      [False, True, True, True, False, True, True, True],
      [0, -2, -2, -3, -2, -4, -5, -6],
      335702133606077232579627915311442373664),
     ('Matthew Hall',
      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',
      True,
      ['0', '0', '2', '1', '2', '1', '0', '2', 'X'],
      '8',
      3,
      'Draw: 3',
      [True, True, True, False, False, False, False, True, False],
      [0, 0, -1, 1, 2, 4, 5, 3, 5],
      53772503334370441085334378293107653659),
     ('Tyler Stewart',
      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477#1',
      False,
      ['0', '1', '0', '0', '0', '0', '2', '0', 'X'],
      '3',
      3,
      'Draw: 3',
      [False, False, False, True, True, True, True, False, True],
      [0, 0, 1, -1, -2, -4, -5, -3, -5],
      53772503334370441085334378293107653659),
     ('Mark Kean',
      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144348&profileid=25961#1',
      True,
      ['0', '5', '0', '1', '1', '1', 'X'],
      '8',
      3,
      'Draw: 3',
      [True, True, False, True, False, False, False],
      [0, -1, 4, 3, 4, 5, 6],
      310456475955908017873561887016699672637),
     ('Richard Krell',
      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144349&profileid=25962#1',
      False,
      ['1', '0', '1', '0', '0', '0', 'X'],
      '2',
      3,
      'Draw: 3',
      [False, False, True, False, True, True, True],
      [0, 1, -4, -3, -4, -5, -6],
      310456475955908017873561887016699672637),
     ('Damien Villard',
      'event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144354&profileid=27373#1',
      True,
      ['2', '1', '0', '1', '0', '0', '1', '0', '0', '0'],
      '5',
      3,
      'Draw: 3',
      [True, False, False, True, False, True, True, False, True, True],
      [0, 2, 3, 2, 3, 1, 1, 2, 1, 0],
      303047434632680540438656592556261333287),
     ('Sam Steep',
      'event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144351&profileid=25978#1',
      False,
      ['0', '0', '1', '0', '2', '0', '0', '1', '1', '1'],
      '6',
      3,
      'Draw: 3',
      [False, True, True, False, True, False, False, True, False, False],
      [0, -2, -3, -2, -3, -1, -1, -2, -1, 0],
      303047434632680540438656592556261333287),
     ('Jason March',
      'event.php?view=Team&eventid=6400&teamid=144351&profileid=25978&eventid=6400&teamid=144350#1',
      True,
      ['1', '1', '0', '0', '0', '0', '2', '1', '2', 'X'],
      '7',
      3,
      'Draw: 3',
      [True, False, False, True, True, True, True, False, False, False],
      [0, 1, 2, 1, 0, 0, 0, 2, 3, 5],
      229699058183107339172217417532449914369),
     ('Matthew Mepstead',
      'event.php?view=Team&eventid=6400&teamid=144351&profileid=25978&eventid=6400&teamid=144356#1',
      False,
      ['0', '0', '1', '1', '0', '0', '0', '0', '0', 'X'],
      '2',
      3,
      'Draw: 3',
      [False, True, True, False, False, False, False, True, True, True],
      [0, -1, -2, -1, 0, 0, 0, -2, -3, -5],
      229699058183107339172217417532449914369),
     ('Wayne Tuck Jr.',
      'event.php?view=Team&eventid=6400&teamid=144356&profileid=0&eventid=6400&teamid=144353&profileid=12486#1',
      False,
      ['0', '0', '0', '2', '0', '0', '0', '0', 'X'],
      '2',
      3,
      'Draw: 3',
      [False, True, True, True, False, True, True, True, True],
      [0, -2, -3, -3, -1, -2, -4, -5, -6],
      195399470224611539512163135746754073908),
     ('Rob Ainsley',
      'event.php?view=Team&eventid=6400&teamid=144356&profileid=0&eventid=6400&teamid=144345&profileid=15779#1',
      True,
      ['2', '1', '0', '0', '1', '2', '1', '1', 'X'],
      '8',
      3,
      'Draw: 3',
      [True, False, False, False, True, False, False, False, False],
      [0, 2, 3, 3, 1, 2, 4, 5, 6],
      195399470224611539512163135746754073908),
     ('Matthew Hall',
      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',
      True,
      ['1', '0', '1', '0', '1', '0', '2', '0', '1', '0'],
      '6',
      4,
      'Draw: 4',
      [True, False, True, False, True, False, True, False, True, False],
      [0, 1, -1, 0, -2, -1, -2, 0, -1, 0],
      63653233024470732271264476184228625543),
     ('Mark Kean',
      'event.php?view=Team&eventid=6400&teamid=144348&profileid=25961#1',
      False,
      ['0', '2', '0', '2', '0', '1', '0', '1', '0', '1'],
      '7',
      4,
      'Draw: 4',
      [False, True, False, True, False, True, False, True, False, True],
      [0, -1, 1, 0, 2, 1, 2, 0, 1, 0],
      63653233024470732271264476184228625543),
     ('Sam Steep',
      'event.php?view=Team&eventid=6400&teamid=144348&profileid=25961&eventid=6400&teamid=144351&profileid=25978#1',
      False,
      ['1', '0', '0', '2', '0', '1', '1', '0', '1', '1'],
      '7',
      4,
      'Draw: 4',
      [False, False, True, True, False, True, False, False, True, False],
      [0, 1, 0, -2, 0, -2, -1, 0, -1, 0],
      279469483516704960424550934244064693031),
     ('Jason March',
      'event.php?view=Team&eventid=6400&teamid=144348&profileid=25961&eventid=6400&teamid=144350#1',
      True,
      ['0', '1', '2', '0', '2', '0', '0', '1', '0', '0'],
      '6',
      4,
      'Draw: 4',
      [True, True, False, False, True, False, True, True, False, True],
      [0, -1, 0, 2, 0, 2, 1, 0, 1, 0],
      279469483516704960424550934244064693031),
     ('Dayna Deruelle',
      'event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144346&profileid=26636#1',
      False,
      ['0', '2', '1', '1', '1', '0', '3', 'X'],
      '8',
      4,
      'Draw: 4',
      [False, True, False, False, False, False, True, False],
      [0, -1, 1, 2, 3, 4, 3, 6],
      291113397726148010907174443006816563924),
     ('Rob Ainsley',
      'event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144345&profileid=15779#1',
      True,
      ['1', '0', '0', '0', '0', '1', '0', 'X'],
      '2',
      4,
      'Draw: 4',
      [True, False, True, True, True, True, False, True],
      [0, 1, -1, -2, -3, -4, -3, -6],
      291113397726148010907174443006816563924),
     ('Sam Steep',
      'event.php?view=Team&eventid=6400&teamid=144351&profileid=25978#1',
      False,
      ['0', '1', '0', '0', '0', '2', '0', '2', '0', '0'],
      '5',
      5,
      'Draw: 5',
      [False, False, False, True, True, True, False, True, False, False],
      [0, 0, 1, 0, -1, -3, -1, -3, -1, -1],
      95866945533461342246819997703085723055),
     ('Richard Krell',
      'event.php?view=Team&eventid=6400&teamid=144349&profileid=25962#1',
      True,
      ['0', '0', '1', '1', '2', '0', '2', '0', '0', '1'],
      '7',
      5,
      'Draw: 5',
      [True, True, True, False, False, False, True, False, True, True],
      [0, 0, -1, 0, 1, 3, 1, 3, 1, 1],
      95866945533461342246819997703085723055),
     ('Dayna Deruelle',
      'event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144346&profileid=26636#1',
      False,
      ['0', '0', '1', '0', '0', '0', '1', '0', '3', '1', '0'],
      '6',
      5,
      'Draw: 5',
      [False, True, True, False, True, True, True, False, True, False, False],
      [0, -1, -1, 0, -1, -1, -3, -2, -4, -1, 0],
      233581897033627594667237538445333000951),
     ('Tyler Stewart',
      'event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144352&profileid=12477#1',
      True,
      ['1', '0', '0', '1', '0', '2', '0', '2', '0', '0', '1'],
      '7',
      5,
      'Draw: 5',
      [True, False, False, True, False, False, False, True, False, True, True],
      [0, 1, 1, 0, 1, 1, 3, 2, 4, 1, 0],
      233581897033627594667237538445333000951),
     ('Richard Krell',
      'event.php?view=Team&eventid=6400&teamid=144349&profileid=25962#1',
      False,
      ['0', '0', '1', '1', '0', '0', '1', '0', 'X'],
      '3',
      6,
      'Draw: 6',
      [False, False, True, False, False, True, True, False, True],
      [0, 0, -2, -1, 0, -2, -5, -4, -5],
      61203104491141348409761697458039616615),
     ('Tyler Stewart',
      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477#1',
      True,
      ['0', '2', '0', '0', '2', '3', '0', '1', 'X'],
      '8',
      6,
      'Draw: 6',
      [True, True, False, True, True, False, False, True, False],
      [0, 0, 2, 1, 0, 2, 5, 4, 5],
      61203104491141348409761697458039616615),
     ('Tyler Stewart',
      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477#1',
      False,
      ['0', '0', '1', '1', '0', '3', '0', '0', '1', '0'],
      '6',
      7,
      'Draw: 7',
      [False, False, True, False, False, True, False, False, True, False],
      [0, 0, -1, 0, 1, -2, 1, 1, 0, 1],
      4915701019265174384644466584441738333),
     ('Matthew Hall',
      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',
      True,
      ['0', '1', '0', '0', '3', '0', '0', '1', '0', '2'],
      '7',
      7,
      'Draw: 7',
      [True, True, False, True, True, False, True, True, False, True],
      [0, 0, 1, 0, -1, 2, -1, -1, 0, -1],
      4915701019265174384644466584441738333)]



The `get_flat_boxscores` method can also be used to return a list of `Boxscore` objects for convenience. 

```python
event.get_flat_boxscores(flat=False)
```




    [Boxscore(team_name='Damien Villard', href='event.php?view=Team&eventid=6400&teamid=144354&profileid=27373#1', hammer_start=True, score=['0', '0', '0', '0', 'X'], final_score='0', draw_num=1, draw='Draw: 1', hammer_progression=[True, True, True, True, True], relative_score=[0, -1, -4, -6, -8], guid=209707243860236114112314247393927711356),
     Boxscore(team_name='Matthew Hall', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1', hammer_start=False, score=['1', '3', '2', '2', 'X'], final_score='8', draw_num=1, draw='Draw: 1', hammer_progression=[False, False, False, False, False], relative_score=[0, 1, 4, 6, 8], guid=209707243860236114112314247393927711356),
     Boxscore(team_name='Matthew Mepstead', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144356#1', hammer_start=False, score=['0', '0', '1', '1', '0', '1', '0', '0', '0', '1', '0'], final_score='4', draw_num=1, draw='Draw: 1', hammer_progression=[False, False, True, False, False, True, False, False, False, True, False], relative_score=[0, 0, -2, -1, 0, -1, 0, 0, 0, -1, 0], guid=38537103347544582345141893615297919005),
     Boxscore(team_name='Tyler Stewart', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144352&profileid=12477#1', hammer_start=True, score=['0', '2', '0', '0', '1', '0', '0', '0', '1', '0', '1'], final_score='5', draw_num=1, draw='Draw: 1', hammer_progression=[True, True, False, True, True, False, True, True, True, False, True], relative_score=[0, 0, 2, 1, 0, 1, 0, 0, 0, 1, 0], guid=38537103347544582345141893615297919005),
     Boxscore(team_name='Jason March', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144350#1', hammer_start=False, score=['0', '2', '0', '1', '0', '2', '2', '0', '2', 'X'], final_score='9', draw_num=1, draw='Draw: 1', hammer_progression=[False, False, False, False, False, True, False, False, True, False], relative_score=[0, 0, 2, 2, 3, 2, 4, 6, 3, 5], guid=272348649831484335603593027216985821953),
     Boxscore(team_name='Sam Steep', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144351&profileid=25978#1', hammer_start=True, score=['0', '0', '0', '0', '1', '0', '0', '3', '0', 'X'], final_score='4', draw_num=1, draw='Draw: 1', hammer_progression=[True, True, True, True, True, False, True, True, False, True], relative_score=[0, 0, -2, -2, -3, -2, -4, -6, -3, -5], guid=272348649831484335603593027216985821953),
     Boxscore(team_name='Wayne Tuck Jr.', href='event.php?view=Team&eventid=6400&teamid=144353&profileid=12486#1', hammer_start=True, score=['0', '2', '0', '0', '0', '0', '1', '1', '1', '0'], final_score='5', draw_num=2, draw='Draw: 2', hammer_progression=[True, True, False, True, True, True, True, False, False, False], relative_score=[0, 0, 2, -2, -2, -2, -3, -2, -1, 0], guid=95112284881200216258215191883153462659),
     Boxscore(team_name='Matthew Hall', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1', hammer_start=False, score=['0', '0', '4', '0', '0', '1', '0', '0', '0', '2'], final_score='7', draw_num=2, draw='Draw: 2', hammer_progression=[False, False, True, False, False, False, False, True, True, True], relative_score=[0, 0, -2, 2, 2, 2, 3, 2, 1, 0], guid=95112284881200216258215191883153462659),
     Boxscore(team_name='Dayna Deruelle', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144346&profileid=26636#1', hammer_start=False, score=['0', '0', '1', '0', '0', '0', '0', 'X'], final_score='1', draw_num=2, draw='Draw: 2', hammer_progression=[False, False, True, False, True, True, True, True], relative_score=[0, 0, -2, -1, -3, -4, -5, -9], guid=59643628877953807377369574857821892232),
     Boxscore(team_name='Tyler Stewart', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144352&profileid=12477#1', hammer_start=True, score=['0', '2', '0', '2', '1', '1', '4', 'X'], final_score='10', draw_num=2, draw='Draw: 2', hammer_progression=[True, True, False, True, False, False, False, False], relative_score=[0, 0, 2, 1, 3, 4, 5, 9], guid=59643628877953807377369574857821892232),
     Boxscore(team_name='Mark Kean', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144348&profileid=25961#1', hammer_start=True, score=['2', '0', '1', '0', '0', '0', '1', '3', 'X'], final_score='7', draw_num=2, draw='Draw: 2', hammer_progression=[True, False, False, False, False, True, True, False, False], relative_score=[0, 2, 2, 3, 3, 1, 0, 1, 4], guid=122217858840490332010920244446431255640),
     Boxscore(team_name='Jason March', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144350#1', hammer_start=False, score=['0', '0', '0', '0', '2', '1', '0', '0', 'X'], final_score='3', draw_num=2, draw='Draw: 2', hammer_progression=[False, True, True, True, True, False, False, True, True], relative_score=[0, -2, -2, -3, -3, -1, 0, -1, -4], guid=122217858840490332010920244446431255640),
     Boxscore(team_name='Richard Krell', href='event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144349&profileid=25962#1', hammer_start=True, score=['2', '0', '1', '0', '2', '1', '1', 'X'], final_score='7', draw_num=2, draw='Draw: 2', hammer_progression=[True, False, False, False, True, False, False, False], relative_score=[0, 2, 2, 3, 2, 4, 5, 6], guid=335702133606077232579627915311442373664),
     Boxscore(team_name='Rob Ainsley', href='event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144345&profileid=15779#1', hammer_start=False, score=['0', '0', '0', '1', '0', '0', '0', 'X'], final_score='1', draw_num=2, draw='Draw: 2', hammer_progression=[False, True, True, True, False, True, True, True], relative_score=[0, -2, -2, -3, -2, -4, -5, -6], guid=335702133606077232579627915311442373664),
     Boxscore(team_name='Matthew Hall', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1', hammer_start=True, score=['0', '0', '2', '1', '2', '1', '0', '2', 'X'], final_score='8', draw_num=3, draw='Draw: 3', hammer_progression=[True, True, True, False, False, False, False, True, False], relative_score=[0, 0, -1, 1, 2, 4, 5, 3, 5], guid=53772503334370441085334378293107653659),
     Boxscore(team_name='Tyler Stewart', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477#1', hammer_start=False, score=['0', '1', '0', '0', '0', '0', '2', '0', 'X'], final_score='3', draw_num=3, draw='Draw: 3', hammer_progression=[False, False, False, True, True, True, True, False, True], relative_score=[0, 0, 1, -1, -2, -4, -5, -3, -5], guid=53772503334370441085334378293107653659),
     Boxscore(team_name='Mark Kean', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144348&profileid=25961#1', hammer_start=True, score=['0', '5', '0', '1', '1', '1', 'X'], final_score='8', draw_num=3, draw='Draw: 3', hammer_progression=[True, True, False, True, False, False, False], relative_score=[0, -1, 4, 3, 4, 5, 6], guid=310456475955908017873561887016699672637),
     Boxscore(team_name='Richard Krell', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144349&profileid=25962#1', hammer_start=False, score=['1', '0', '1', '0', '0', '0', 'X'], final_score='2', draw_num=3, draw='Draw: 3', hammer_progression=[False, False, True, False, True, True, True], relative_score=[0, 1, -4, -3, -4, -5, -6], guid=310456475955908017873561887016699672637),
     Boxscore(team_name='Damien Villard', href='event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144354&profileid=27373#1', hammer_start=True, score=['2', '1', '0', '1', '0', '0', '1', '0', '0', '0'], final_score='5', draw_num=3, draw='Draw: 3', hammer_progression=[True, False, False, True, False, True, True, False, True, True], relative_score=[0, 2, 3, 2, 3, 1, 1, 2, 1, 0], guid=303047434632680540438656592556261333287),
     Boxscore(team_name='Sam Steep', href='event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144351&profileid=25978#1', hammer_start=False, score=['0', '0', '1', '0', '2', '0', '0', '1', '1', '1'], final_score='6', draw_num=3, draw='Draw: 3', hammer_progression=[False, True, True, False, True, False, False, True, False, False], relative_score=[0, -2, -3, -2, -3, -1, -1, -2, -1, 0], guid=303047434632680540438656592556261333287),
     Boxscore(team_name='Jason March', href='event.php?view=Team&eventid=6400&teamid=144351&profileid=25978&eventid=6400&teamid=144350#1', hammer_start=True, score=['1', '1', '0', '0', '0', '0', '2', '1', '2', 'X'], final_score='7', draw_num=3, draw='Draw: 3', hammer_progression=[True, False, False, True, True, True, True, False, False, False], relative_score=[0, 1, 2, 1, 0, 0, 0, 2, 3, 5], guid=229699058183107339172217417532449914369),
     Boxscore(team_name='Matthew Mepstead', href='event.php?view=Team&eventid=6400&teamid=144351&profileid=25978&eventid=6400&teamid=144356#1', hammer_start=False, score=['0', '0', '1', '1', '0', '0', '0', '0', '0', 'X'], final_score='2', draw_num=3, draw='Draw: 3', hammer_progression=[False, True, True, False, False, False, False, True, True, True], relative_score=[0, -1, -2, -1, 0, 0, 0, -2, -3, -5], guid=229699058183107339172217417532449914369),
     Boxscore(team_name='Wayne Tuck Jr.', href='event.php?view=Team&eventid=6400&teamid=144356&profileid=0&eventid=6400&teamid=144353&profileid=12486#1', hammer_start=False, score=['0', '0', '0', '2', '0', '0', '0', '0', 'X'], final_score='2', draw_num=3, draw='Draw: 3', hammer_progression=[False, True, True, True, False, True, True, True, True], relative_score=[0, -2, -3, -3, -1, -2, -4, -5, -6], guid=195399470224611539512163135746754073908),
     Boxscore(team_name='Rob Ainsley', href='event.php?view=Team&eventid=6400&teamid=144356&profileid=0&eventid=6400&teamid=144345&profileid=15779#1', hammer_start=True, score=['2', '1', '0', '0', '1', '2', '1', '1', 'X'], final_score='8', draw_num=3, draw='Draw: 3', hammer_progression=[True, False, False, False, True, False, False, False, False], relative_score=[0, 2, 3, 3, 1, 2, 4, 5, 6], guid=195399470224611539512163135746754073908),
     Boxscore(team_name='Matthew Hall', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1', hammer_start=True, score=['1', '0', '1', '0', '1', '0', '2', '0', '1', '0'], final_score='6', draw_num=4, draw='Draw: 4', hammer_progression=[True, False, True, False, True, False, True, False, True, False], relative_score=[0, 1, -1, 0, -2, -1, -2, 0, -1, 0], guid=63653233024470732271264476184228625543),
     Boxscore(team_name='Mark Kean', href='event.php?view=Team&eventid=6400&teamid=144348&profileid=25961#1', hammer_start=False, score=['0', '2', '0', '2', '0', '1', '0', '1', '0', '1'], final_score='7', draw_num=4, draw='Draw: 4', hammer_progression=[False, True, False, True, False, True, False, True, False, True], relative_score=[0, -1, 1, 0, 2, 1, 2, 0, 1, 0], guid=63653233024470732271264476184228625543),
     Boxscore(team_name='Sam Steep', href='event.php?view=Team&eventid=6400&teamid=144348&profileid=25961&eventid=6400&teamid=144351&profileid=25978#1', hammer_start=False, score=['1', '0', '0', '2', '0', '1', '1', '0', '1', '1'], final_score='7', draw_num=4, draw='Draw: 4', hammer_progression=[False, False, True, True, False, True, False, False, True, False], relative_score=[0, 1, 0, -2, 0, -2, -1, 0, -1, 0], guid=279469483516704960424550934244064693031),
     Boxscore(team_name='Jason March', href='event.php?view=Team&eventid=6400&teamid=144348&profileid=25961&eventid=6400&teamid=144350#1', hammer_start=True, score=['0', '1', '2', '0', '2', '0', '0', '1', '0', '0'], final_score='6', draw_num=4, draw='Draw: 4', hammer_progression=[True, True, False, False, True, False, True, True, False, True], relative_score=[0, -1, 0, 2, 0, 2, 1, 0, 1, 0], guid=279469483516704960424550934244064693031),
     Boxscore(team_name='Dayna Deruelle', href='event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144346&profileid=26636#1', hammer_start=False, score=['0', '2', '1', '1', '1', '0', '3', 'X'], final_score='8', draw_num=4, draw='Draw: 4', hammer_progression=[False, True, False, False, False, False, True, False], relative_score=[0, -1, 1, 2, 3, 4, 3, 6], guid=291113397726148010907174443006816563924),
     Boxscore(team_name='Rob Ainsley', href='event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144345&profileid=15779#1', hammer_start=True, score=['1', '0', '0', '0', '0', '1', '0', 'X'], final_score='2', draw_num=4, draw='Draw: 4', hammer_progression=[True, False, True, True, True, True, False, True], relative_score=[0, 1, -1, -2, -3, -4, -3, -6], guid=291113397726148010907174443006816563924),
     Boxscore(team_name='Sam Steep', href='event.php?view=Team&eventid=6400&teamid=144351&profileid=25978#1', hammer_start=False, score=['0', '1', '0', '0', '0', '2', '0', '2', '0', '0'], final_score='5', draw_num=5, draw='Draw: 5', hammer_progression=[False, False, False, True, True, True, False, True, False, False], relative_score=[0, 0, 1, 0, -1, -3, -1, -3, -1, -1], guid=95866945533461342246819997703085723055),
     Boxscore(team_name='Richard Krell', href='event.php?view=Team&eventid=6400&teamid=144349&profileid=25962#1', hammer_start=True, score=['0', '0', '1', '1', '2', '0', '2', '0', '0', '1'], final_score='7', draw_num=5, draw='Draw: 5', hammer_progression=[True, True, True, False, False, False, True, False, True, True], relative_score=[0, 0, -1, 0, 1, 3, 1, 3, 1, 1], guid=95866945533461342246819997703085723055),
     Boxscore(team_name='Dayna Deruelle', href='event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144346&profileid=26636#1', hammer_start=False, score=['0', '0', '1', '0', '0', '0', '1', '0', '3', '1', '0'], final_score='6', draw_num=5, draw='Draw: 5', hammer_progression=[False, True, True, False, True, True, True, False, True, False, False], relative_score=[0, -1, -1, 0, -1, -1, -3, -2, -4, -1, 0], guid=233581897033627594667237538445333000951),
     Boxscore(team_name='Tyler Stewart', href='event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144352&profileid=12477#1', hammer_start=True, score=['1', '0', '0', '1', '0', '2', '0', '2', '0', '0', '1'], final_score='7', draw_num=5, draw='Draw: 5', hammer_progression=[True, False, False, True, False, False, False, True, False, True, True], relative_score=[0, 1, 1, 0, 1, 1, 3, 2, 4, 1, 0], guid=233581897033627594667237538445333000951),
     Boxscore(team_name='Richard Krell', href='event.php?view=Team&eventid=6400&teamid=144349&profileid=25962#1', hammer_start=False, score=['0', '0', '1', '1', '0', '0', '1', '0', 'X'], final_score='3', draw_num=6, draw='Draw: 6', hammer_progression=[False, False, True, False, False, True, True, False, True], relative_score=[0, 0, -2, -1, 0, -2, -5, -4, -5], guid=61203104491141348409761697458039616615),
     Boxscore(team_name='Tyler Stewart', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477#1', hammer_start=True, score=['0', '2', '0', '0', '2', '3', '0', '1', 'X'], final_score='8', draw_num=6, draw='Draw: 6', hammer_progression=[True, True, False, True, True, False, False, True, False], relative_score=[0, 0, 2, 1, 0, 2, 5, 4, 5], guid=61203104491141348409761697458039616615),
     Boxscore(team_name='Tyler Stewart', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477#1', hammer_start=False, score=['0', '0', '1', '1', '0', '3', '0', '0', '1', '0'], final_score='6', draw_num=7, draw='Draw: 7', hammer_progression=[False, False, True, False, False, True, False, False, True, False], relative_score=[0, 0, -1, 0, 1, -2, 1, 1, 0, 1], guid=4915701019265174384644466584441738333),
     Boxscore(team_name='Matthew Hall', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1', hammer_start=True, score=['0', '1', '0', '0', '3', '0', '0', '1', '0', '2'], final_score='7', draw_num=7, draw='Draw: 7', hammer_progression=[True, True, False, True, True, False, True, True, False, True], relative_score=[0, 0, 1, 0, -1, 2, -1, -1, 0, -1], guid=4915701019265174384644466584441738333)]



```python
event.get_flat_boxscores()[0]
```




    Boxscore(team_name='Damien Villard', href='event.php?view=Team&eventid=6400&teamid=144354&profileid=27373#1', hammer_start=True, score=['0', '0', '0', '0', 'X'], final_score='0', draw_num=1, draw='Draw: 1', hammer_progression=[True, True, True, True, True], relative_score=[0, -1, -4, -6, -8], guid=209707243860236114112314247393927711356)



```python
event.get_flat_boxscores()[-1]
```




    Boxscore(team_name='Matthew Hall', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1', hammer_start=True, score=['0', '1', '0', '0', '3', '0', '0', '1', '0', '2'], final_score='7', draw_num=7, draw='Draw: 7', hammer_progression=[True, True, False, True, True, False, True, True, False, True], relative_score=[0, 0, 1, 0, -1, 2, -1, -1, 0, -1], guid=4915701019265174384644466584441738333)



## About czapi
czapi is a Python library for scraping curling linescores.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/calicorob/czapi/tree/master/",
    "name": "czapi",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "curling,stats",
    "author": "Robert Currie",
    "author_email": "robert.art.currie@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/40/37/7267ec15612e59ba1297fa42d5c6bf450d98225a76871fb82615d7d4239a/czapi-0.2.0.tar.gz",
    "platform": null,
    "description": "# Welcome to czapi\n> A basic API for scraping curling boxscores off of the popular <a href='https://www.curlingzone.com'>CurlingZone</a> website. \n\n\n## Install\n\n```\npip install czapi\n```\n\n## How to use\n\n```python\nimport czapi.api as api\n```\n\n## LinescorePage\nczapi is based around the `LinescorePage` object which represents a linescore page on the CurlingZone website. \n\nClick [here](https://curlingzone.com/event.php?view=Scores&eventid=7795#1) to see an example linescore page.\n\nCreating an instance of the `LinescorePage` class gives access to every boxscore on that linescore page.\n\n```python\nlinescore_page = api.LinescorePage(cz_event_id = 6400, cz_draw_id = 2)\n```\n\nThe `cz_event_id` and `cz_draw_id` arguments are found in the CurlingZone URL. \n\nHere's an example:\n> ht<span>t</span>ps://curlingzone.com/event.php?**eventid=7795**&view=Scores&show**drawid=21**#1\n\nThe boxscores on the linescore page can be accessed through the `boxscores` property which returns a list of boxscores.\n\n```python\nlinescore_page.boxscores\n```\n\n\n\n\n    [{'Wayne Tuck Jr.': {'draw': 'Draw: 2',\n       'draw_num': 2,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144353&profileid=12486#1',\n       'score': ['0', '2', '0', '0', '0', '0', '1', '1', '1', '0'],\n       'hammer': True,\n       'finalscore': '5'},\n      'Matthew Hall': {'draw': 'Draw: 2',\n       'draw_num': 2,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',\n       'score': ['0', '0', '4', '0', '0', '1', '0', '0', '0', '2'],\n       'hammer': False,\n       'finalscore': '7'}},\n     {'Dayna Deruelle': {'draw': 'Draw: 2',\n       'draw_num': 2,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144346&profileid=26636#1',\n       'score': ['0', '0', '1', '0', '0', '0', '0', 'X'],\n       'hammer': False,\n       'finalscore': '1'},\n      'Tyler Stewart': {'draw': 'Draw: 2',\n       'draw_num': 2,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144352&profileid=12477#1',\n       'score': ['0', '2', '0', '2', '1', '1', '4', 'X'],\n       'hammer': True,\n       'finalscore': '10'}},\n     {'Mark Kean': {'draw': 'Draw: 2',\n       'draw_num': 2,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144348&profileid=25961#1',\n       'score': ['2', '0', '1', '0', '0', '0', '1', '3', 'X'],\n       'hammer': True,\n       'finalscore': '7'},\n      'Jason March': {'draw': 'Draw: 2',\n       'draw_num': 2,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144350#1',\n       'score': ['0', '0', '0', '0', '2', '1', '0', '0', 'X'],\n       'hammer': False,\n       'finalscore': '3'}},\n     {'Richard Krell': {'draw': 'Draw: 2',\n       'draw_num': 2,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144349&profileid=25962#1',\n       'score': ['2', '0', '1', '0', '2', '1', '1', 'X'],\n       'hammer': True,\n       'finalscore': '7'},\n      'Rob Ainsley': {'draw': 'Draw: 2',\n       'draw_num': 2,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144345&profileid=15779#1',\n       'score': ['0', '0', '0', '1', '0', '0', '0', 'X'],\n       'hammer': False,\n       'finalscore': '1'}}]\n\n\n\nA boxscore is returned as a dictionary of team names, game information dictionary key, value pairs.\n\nEach game information dictionary contains:\n\n* 'href' key with a corresponding string value of CurlingZone IDs identifying the team.\n* 'hammer' key with corresponding boolean value of whether or not that team started the game with hammer.\n* 'score' key with corresponding list of string value of end-by-end results for that team.\n* 'finalscore' key with corresponding final score for the team.\n* 'draw_num' key with corresponding draw number for the game.\n* 'draw' key with corresponding draw. \n\nIndividual boxscores can be accessed through the `get_boxscore_from` method.\n\n```python\nboxscore = linescore_page.get_boxscore_from(cz_game_id = 1)\nboxscore\n```\n\n\n\n\n    {'Wayne Tuck Jr.': {'draw': 'Draw: 2',\n      'draw_num': 2,\n      'href': 'event.php?view=Team&eventid=6400&teamid=144353&profileid=12486#1',\n      'score': ['0', '2', '0', '0', '0', '0', '1', '1', '1', '0'],\n      'hammer': True,\n      'finalscore': '5'},\n     'Matthew Hall': {'draw': 'Draw: 2',\n      'draw_num': 2,\n      'href': 'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',\n      'score': ['0', '0', '4', '0', '0', '1', '0', '0', '0', '2'],\n      'hammer': False,\n      'finalscore': '7'}}\n\n\n\n`cz_game_id` argument corresponds to the number the boxscore appears in on the linescore page.\n\nThe LinescorePage object contains these properties which details information on the boxscores:\n\n* event_name\n* event_date\n* draw\n* draw number\n\n```python\nprint(linescore_page.event_name,',',linescore_page.event_date)\n```\n\n    Ontario Tankard - Open Qualifier , Jan 17 - 19, 2020\n    \n\nFor convenience, upon instantiation of a `LinescorePage` object, a `NormalizedBoxscore` instance for each boxscore is created. A `NormalizedBoxscore` holds the same information as a boxscore dictionary with two new pieces of information added: \n1. The hammer progression for both teams throughout the game, i.e. who had hammer in what end.\n2. Each team's relative score, i.e. who was up/down X after end Y.\n\n```python\nnormalized_boxscore = linescore_page.get_normalized_boxscore_from(cz_game_id = 1)\nnormalized_boxscore\n```\n\n\n\n\n    NormalizedBoxscore(boxscore={'Wayne Tuck Jr.': {'draw': 'Draw: 2', 'draw_num': 2, 'href': 'event.php?view=Team&eventid=6400&teamid=144353&profileid=12486#1', 'score': ['0', '2', '0', '0', '0', '0', '1', '1', '1', '0'], 'hammer': True, 'finalscore': '5'}, 'Matthew Hall': {'draw': 'Draw: 2', 'draw_num': 2, 'href': 'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1', 'score': ['0', '0', '4', '0', '0', '1', '0', '0', '0', '2'], 'hammer': False, 'finalscore': '7'}})\n\n\n\nA `NormalizedBoxscore` object holds two `NormalizedHalfBoxscore` instances. \n\n```python\nnormalized_boxscore.normalized_half_boxscore_pair[0]\n```\n\n\n\n\n    NormalizedHalfBoxscore(team_name='Wayne Tuck Jr.', href='event.php?view=Team&eventid=6400&teamid=144353&profileid=12486#1', hammer=True, score=['0', '2', '0', '0', '0', '0', '1', '1', '1', '0'], finalscore='5', draw_num=2, draw='Draw: 2', hammer_progression=[True, True, False, True, True, True, True, False, False, False], normalized_score=[0, 0, 2, -2, -2, -2, -3, -2, -1, 0])\n\n\n\nFor Wayne Tuck Jr. the `hammer_progression` attribute can be interpreted as follows: \n\n* End 1: Wayne had hammer\n* End 2: Wayne had hammer\n* End 3: Wayne didn't have hammer\n* And so on and so forth..\n\n```python\nnormalized_boxscore.normalized_half_boxscore_pair[-1]\n```\n\n\n\n\n    NormalizedHalfBoxscore(team_name='Matthew Hall', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1', hammer=False, score=['0', '0', '4', '0', '0', '1', '0', '0', '0', '2'], finalscore='7', draw_num=2, draw='Draw: 2', hammer_progression=[False, False, True, False, False, False, False, True, True, True], normalized_score=[0, 0, -2, 2, 2, 2, 3, 2, 1, 0])\n\n\n\nFor Matthew Hall, the `normalized_score` attribute can be interpreted as follows:\n\n* The score was tied in the first end (obviously).\n* The score was tied in the second end.\n* In the 3rd end, Matthew was down 2.\n* In the 4th end, Matthew was up 2 after taking 4.\n* And so on and so forth..\n\nYou'll also notice the `NormalizedBoxscore` object has a guid property which identifies that two `NormalizedHalfBoxscore` belong to the same game.\n\n```python\nnormalized_boxscore.guid\n```\n\n\n\n\n    129690655252279755696295239689104705205\n\n\n\nczapi's `get_flat_boxscores_from` function takes a `cz_event_id` and `cz_draw_id` as an arguments and returns a (flat) nested list object of all the boxscore information on the linescore page. This nested list object can be ingested into a pandas DataFrame or pushed to a SQL database.\n\n```python\napi.get_flat_boxscores_from(cz_event_id = 6400, cz_draw_id = 2)\n```\n\n\n\n\n    [('Wayne Tuck Jr.',\n      'event.php?view=Team&eventid=6400&teamid=144353&profileid=12486#1',\n      True,\n      ['0', '2', '0', '0', '0', '0', '1', '1', '1', '0'],\n      '5',\n      2,\n      'Draw: 2',\n      [True, True, False, True, True, True, True, False, False, False],\n      [0, 0, 2, -2, -2, -2, -3, -2, -1, 0],\n      296656328202528204780428618855733007061),\n     ('Matthew Hall',\n      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',\n      False,\n      ['0', '0', '4', '0', '0', '1', '0', '0', '0', '2'],\n      '7',\n      2,\n      'Draw: 2',\n      [False, False, True, False, False, False, False, True, True, True],\n      [0, 0, -2, 2, 2, 2, 3, 2, 1, 0],\n      296656328202528204780428618855733007061),\n     ('Dayna Deruelle',\n      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144346&profileid=26636#1',\n      False,\n      ['0', '0', '1', '0', '0', '0', '0', 'X'],\n      '1',\n      2,\n      'Draw: 2',\n      [False, False, True, False, True, True, True, True],\n      [0, 0, -2, -1, -3, -4, -5, -9],\n      105249071225393527432485074456849437076),\n     ('Tyler Stewart',\n      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144352&profileid=12477#1',\n      True,\n      ['0', '2', '0', '2', '1', '1', '4', 'X'],\n      '10',\n      2,\n      'Draw: 2',\n      [True, True, False, True, False, False, False, False],\n      [0, 0, 2, 1, 3, 4, 5, 9],\n      105249071225393527432485074456849437076),\n     ('Mark Kean',\n      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144348&profileid=25961#1',\n      True,\n      ['2', '0', '1', '0', '0', '0', '1', '3', 'X'],\n      '7',\n      2,\n      'Draw: 2',\n      [True, False, False, False, False, True, True, False, False],\n      [0, 2, 2, 3, 3, 1, 0, 1, 4],\n      17103980631020054974876512539607901632),\n     ('Jason March',\n      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144350#1',\n      False,\n      ['0', '0', '0', '0', '2', '1', '0', '0', 'X'],\n      '3',\n      2,\n      'Draw: 2',\n      [False, True, True, True, True, False, False, True, True],\n      [0, -2, -2, -3, -3, -1, 0, -1, -4],\n      17103980631020054974876512539607901632),\n     ('Richard Krell',\n      'event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144349&profileid=25962#1',\n      True,\n      ['2', '0', '1', '0', '2', '1', '1', 'X'],\n      '7',\n      2,\n      'Draw: 2',\n      [True, False, False, False, True, False, False, False],\n      [0, 2, 2, 3, 2, 4, 5, 6],\n      215489388707487834967933616755032135426),\n     ('Rob Ainsley',\n      'event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144345&profileid=15779#1',\n      False,\n      ['0', '0', '0', '1', '0', '0', '0', 'X'],\n      '1',\n      2,\n      'Draw: 2',\n      [False, True, True, True, False, True, True, True],\n      [0, -2, -2, -3, -2, -4, -5, -6],\n      215489388707487834967933616755032135426)]\n\n\n\n## Event\n\nThe `Event` object is a data structure which holds all of the `LinescorePage` objects which make up an entire event. \n\nAn `Event` instance is created by passing a `cz_event_id`.\n\n```python\nevent = api.Event(cz_event_id = 6400,delay=3,verbose=True)\nevent\n```\n\n    Scraping draw 1.\n    Scraping draw 2.\n    Scraping draw 3.\n    Scraping draw 4.\n    Scraping draw 5.\n    Scraping draw 6.\n    Scraping draw 7.\n    \n\n\n\n\n    Event(cz_event_id=6400, delay=3, verbose=True)\n\n\n\nThe created `Event` objects holds all the `LinescorePage` objects in it's `pages` property.\n\n```python\nevent.pages\n```\n\n\n\n\n    [LinescorePage(cz_event_id=6400, cz_draw_id=1),\n     LinescorePage(cz_event_id=6400, cz_draw_id=2),\n     LinescorePage(cz_event_id=6400, cz_draw_id=3),\n     LinescorePage(cz_event_id=6400, cz_draw_id=4),\n     LinescorePage(cz_event_id=6400, cz_draw_id=5),\n     LinescorePage(cz_event_id=6400, cz_draw_id=6),\n     LinescorePage(cz_event_id=6400, cz_draw_id=7)]\n\n\n\nDetails about specific draws can be accessed by grabbing the correct LinescorePage.\n\n```python\nevent.pages[2]\n```\n\n\n\n\n    LinescorePage(cz_event_id=6400, cz_draw_id=3)\n\n\n\n```python\nevent.pages[2].boxscores\n```\n\n\n\n\n    [{'Matthew Hall': {'draw': 'Draw: 3',\n       'draw_num': 3,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',\n       'score': ['0', '0', '2', '1', '2', '1', '0', '2', 'X'],\n       'hammer': True,\n       'finalscore': '8'},\n      'Tyler Stewart': {'draw': 'Draw: 3',\n       'draw_num': 3,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477#1',\n       'score': ['0', '1', '0', '0', '0', '0', '2', '0', 'X'],\n       'hammer': False,\n       'finalscore': '3'}},\n     {'Mark Kean': {'draw': 'Draw: 3',\n       'draw_num': 3,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144348&profileid=25961#1',\n       'score': ['0', '5', '0', '1', '1', '1', 'X'],\n       'hammer': True,\n       'finalscore': '8'},\n      'Richard Krell': {'draw': 'Draw: 3',\n       'draw_num': 3,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144349&profileid=25962#1',\n       'score': ['1', '0', '1', '0', '0', '0', 'X'],\n       'hammer': False,\n       'finalscore': '2'}},\n     {'Damien Villard': {'draw': 'Draw: 3',\n       'draw_num': 3,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144354&profileid=27373#1',\n       'score': ['2', '1', '0', '1', '0', '0', '1', '0', '0', '0'],\n       'hammer': True,\n       'finalscore': '5'},\n      'Sam Steep': {'draw': 'Draw: 3',\n       'draw_num': 3,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144351&profileid=25978#1',\n       'score': ['0', '0', '1', '0', '2', '0', '0', '1', '1', '1'],\n       'hammer': False,\n       'finalscore': '6'}},\n     {'Jason March': {'draw': 'Draw: 3',\n       'draw_num': 3,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144351&profileid=25978&eventid=6400&teamid=144350#1',\n       'score': ['1', '1', '0', '0', '0', '0', '2', '1', '2', 'X'],\n       'hammer': True,\n       'finalscore': '7'},\n      'Matthew Mepstead': {'draw': 'Draw: 3',\n       'draw_num': 3,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144351&profileid=25978&eventid=6400&teamid=144356#1',\n       'score': ['0', '0', '1', '1', '0', '0', '0', '0', '0', 'X'],\n       'hammer': False,\n       'finalscore': '2'}},\n     {'Wayne Tuck Jr.': {'draw': 'Draw: 3',\n       'draw_num': 3,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144356&profileid=0&eventid=6400&teamid=144353&profileid=12486#1',\n       'score': ['0', '0', '0', '2', '0', '0', '0', '0', 'X'],\n       'hammer': False,\n       'finalscore': '2'},\n      'Rob Ainsley': {'draw': 'Draw: 3',\n       'draw_num': 3,\n       'href': 'event.php?view=Team&eventid=6400&teamid=144356&profileid=0&eventid=6400&teamid=144345&profileid=15779#1',\n       'score': ['2', '1', '0', '0', '1', '2', '1', '1', 'X'],\n       'hammer': True,\n       'finalscore': '8'}}]\n\n\n\nThe `get_flat_boxscores` method can be used to return a list of tuples of all the boxscore information on all the linescore pages.\n\n```python\nevent.get_flat_boxscores(flat=True)\n```\n\n\n\n\n    [('Damien Villard',\n      'event.php?view=Team&eventid=6400&teamid=144354&profileid=27373#1',\n      True,\n      ['0', '0', '0', '0', 'X'],\n      '0',\n      1,\n      'Draw: 1',\n      [True, True, True, True, True],\n      [0, -1, -4, -6, -8],\n      209707243860236114112314247393927711356),\n     ('Matthew Hall',\n      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',\n      False,\n      ['1', '3', '2', '2', 'X'],\n      '8',\n      1,\n      'Draw: 1',\n      [False, False, False, False, False],\n      [0, 1, 4, 6, 8],\n      209707243860236114112314247393927711356),\n     ('Matthew Mepstead',\n      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144356#1',\n      False,\n      ['0', '0', '1', '1', '0', '1', '0', '0', '0', '1', '0'],\n      '4',\n      1,\n      'Draw: 1',\n      [False, False, True, False, False, True, False, False, False, True, False],\n      [0, 0, -2, -1, 0, -1, 0, 0, 0, -1, 0],\n      38537103347544582345141893615297919005),\n     ('Tyler Stewart',\n      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144352&profileid=12477#1',\n      True,\n      ['0', '2', '0', '0', '1', '0', '0', '0', '1', '0', '1'],\n      '5',\n      1,\n      'Draw: 1',\n      [True, True, False, True, True, False, True, True, True, False, True],\n      [0, 0, 2, 1, 0, 1, 0, 0, 0, 1, 0],\n      38537103347544582345141893615297919005),\n     ('Jason March',\n      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144350#1',\n      False,\n      ['0', '2', '0', '1', '0', '2', '2', '0', '2', 'X'],\n      '9',\n      1,\n      'Draw: 1',\n      [False, False, False, False, False, True, False, False, True, False],\n      [0, 0, 2, 2, 3, 2, 4, 6, 3, 5],\n      272348649831484335603593027216985821953),\n     ('Sam Steep',\n      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144351&profileid=25978#1',\n      True,\n      ['0', '0', '0', '0', '1', '0', '0', '3', '0', 'X'],\n      '4',\n      1,\n      'Draw: 1',\n      [True, True, True, True, True, False, True, True, False, True],\n      [0, 0, -2, -2, -3, -2, -4, -6, -3, -5],\n      272348649831484335603593027216985821953),\n     ('Wayne Tuck Jr.',\n      'event.php?view=Team&eventid=6400&teamid=144353&profileid=12486#1',\n      True,\n      ['0', '2', '0', '0', '0', '0', '1', '1', '1', '0'],\n      '5',\n      2,\n      'Draw: 2',\n      [True, True, False, True, True, True, True, False, False, False],\n      [0, 0, 2, -2, -2, -2, -3, -2, -1, 0],\n      95112284881200216258215191883153462659),\n     ('Matthew Hall',\n      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',\n      False,\n      ['0', '0', '4', '0', '0', '1', '0', '0', '0', '2'],\n      '7',\n      2,\n      'Draw: 2',\n      [False, False, True, False, False, False, False, True, True, True],\n      [0, 0, -2, 2, 2, 2, 3, 2, 1, 0],\n      95112284881200216258215191883153462659),\n     ('Dayna Deruelle',\n      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144346&profileid=26636#1',\n      False,\n      ['0', '0', '1', '0', '0', '0', '0', 'X'],\n      '1',\n      2,\n      'Draw: 2',\n      [False, False, True, False, True, True, True, True],\n      [0, 0, -2, -1, -3, -4, -5, -9],\n      59643628877953807377369574857821892232),\n     ('Tyler Stewart',\n      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144352&profileid=12477#1',\n      True,\n      ['0', '2', '0', '2', '1', '1', '4', 'X'],\n      '10',\n      2,\n      'Draw: 2',\n      [True, True, False, True, False, False, False, False],\n      [0, 0, 2, 1, 3, 4, 5, 9],\n      59643628877953807377369574857821892232),\n     ('Mark Kean',\n      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144348&profileid=25961#1',\n      True,\n      ['2', '0', '1', '0', '0', '0', '1', '3', 'X'],\n      '7',\n      2,\n      'Draw: 2',\n      [True, False, False, False, False, True, True, False, False],\n      [0, 2, 2, 3, 3, 1, 0, 1, 4],\n      122217858840490332010920244446431255640),\n     ('Jason March',\n      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144350#1',\n      False,\n      ['0', '0', '0', '0', '2', '1', '0', '0', 'X'],\n      '3',\n      2,\n      'Draw: 2',\n      [False, True, True, True, True, False, False, True, True],\n      [0, -2, -2, -3, -3, -1, 0, -1, -4],\n      122217858840490332010920244446431255640),\n     ('Richard Krell',\n      'event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144349&profileid=25962#1',\n      True,\n      ['2', '0', '1', '0', '2', '1', '1', 'X'],\n      '7',\n      2,\n      'Draw: 2',\n      [True, False, False, False, True, False, False, False],\n      [0, 2, 2, 3, 2, 4, 5, 6],\n      335702133606077232579627915311442373664),\n     ('Rob Ainsley',\n      'event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144345&profileid=15779#1',\n      False,\n      ['0', '0', '0', '1', '0', '0', '0', 'X'],\n      '1',\n      2,\n      'Draw: 2',\n      [False, True, True, True, False, True, True, True],\n      [0, -2, -2, -3, -2, -4, -5, -6],\n      335702133606077232579627915311442373664),\n     ('Matthew Hall',\n      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',\n      True,\n      ['0', '0', '2', '1', '2', '1', '0', '2', 'X'],\n      '8',\n      3,\n      'Draw: 3',\n      [True, True, True, False, False, False, False, True, False],\n      [0, 0, -1, 1, 2, 4, 5, 3, 5],\n      53772503334370441085334378293107653659),\n     ('Tyler Stewart',\n      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477#1',\n      False,\n      ['0', '1', '0', '0', '0', '0', '2', '0', 'X'],\n      '3',\n      3,\n      'Draw: 3',\n      [False, False, False, True, True, True, True, False, True],\n      [0, 0, 1, -1, -2, -4, -5, -3, -5],\n      53772503334370441085334378293107653659),\n     ('Mark Kean',\n      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144348&profileid=25961#1',\n      True,\n      ['0', '5', '0', '1', '1', '1', 'X'],\n      '8',\n      3,\n      'Draw: 3',\n      [True, True, False, True, False, False, False],\n      [0, -1, 4, 3, 4, 5, 6],\n      310456475955908017873561887016699672637),\n     ('Richard Krell',\n      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144349&profileid=25962#1',\n      False,\n      ['1', '0', '1', '0', '0', '0', 'X'],\n      '2',\n      3,\n      'Draw: 3',\n      [False, False, True, False, True, True, True],\n      [0, 1, -4, -3, -4, -5, -6],\n      310456475955908017873561887016699672637),\n     ('Damien Villard',\n      'event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144354&profileid=27373#1',\n      True,\n      ['2', '1', '0', '1', '0', '0', '1', '0', '0', '0'],\n      '5',\n      3,\n      'Draw: 3',\n      [True, False, False, True, False, True, True, False, True, True],\n      [0, 2, 3, 2, 3, 1, 1, 2, 1, 0],\n      303047434632680540438656592556261333287),\n     ('Sam Steep',\n      'event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144351&profileid=25978#1',\n      False,\n      ['0', '0', '1', '0', '2', '0', '0', '1', '1', '1'],\n      '6',\n      3,\n      'Draw: 3',\n      [False, True, True, False, True, False, False, True, False, False],\n      [0, -2, -3, -2, -3, -1, -1, -2, -1, 0],\n      303047434632680540438656592556261333287),\n     ('Jason March',\n      'event.php?view=Team&eventid=6400&teamid=144351&profileid=25978&eventid=6400&teamid=144350#1',\n      True,\n      ['1', '1', '0', '0', '0', '0', '2', '1', '2', 'X'],\n      '7',\n      3,\n      'Draw: 3',\n      [True, False, False, True, True, True, True, False, False, False],\n      [0, 1, 2, 1, 0, 0, 0, 2, 3, 5],\n      229699058183107339172217417532449914369),\n     ('Matthew Mepstead',\n      'event.php?view=Team&eventid=6400&teamid=144351&profileid=25978&eventid=6400&teamid=144356#1',\n      False,\n      ['0', '0', '1', '1', '0', '0', '0', '0', '0', 'X'],\n      '2',\n      3,\n      'Draw: 3',\n      [False, True, True, False, False, False, False, True, True, True],\n      [0, -1, -2, -1, 0, 0, 0, -2, -3, -5],\n      229699058183107339172217417532449914369),\n     ('Wayne Tuck Jr.',\n      'event.php?view=Team&eventid=6400&teamid=144356&profileid=0&eventid=6400&teamid=144353&profileid=12486#1',\n      False,\n      ['0', '0', '0', '2', '0', '0', '0', '0', 'X'],\n      '2',\n      3,\n      'Draw: 3',\n      [False, True, True, True, False, True, True, True, True],\n      [0, -2, -3, -3, -1, -2, -4, -5, -6],\n      195399470224611539512163135746754073908),\n     ('Rob Ainsley',\n      'event.php?view=Team&eventid=6400&teamid=144356&profileid=0&eventid=6400&teamid=144345&profileid=15779#1',\n      True,\n      ['2', '1', '0', '0', '1', '2', '1', '1', 'X'],\n      '8',\n      3,\n      'Draw: 3',\n      [True, False, False, False, True, False, False, False, False],\n      [0, 2, 3, 3, 1, 2, 4, 5, 6],\n      195399470224611539512163135746754073908),\n     ('Matthew Hall',\n      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',\n      True,\n      ['1', '0', '1', '0', '1', '0', '2', '0', '1', '0'],\n      '6',\n      4,\n      'Draw: 4',\n      [True, False, True, False, True, False, True, False, True, False],\n      [0, 1, -1, 0, -2, -1, -2, 0, -1, 0],\n      63653233024470732271264476184228625543),\n     ('Mark Kean',\n      'event.php?view=Team&eventid=6400&teamid=144348&profileid=25961#1',\n      False,\n      ['0', '2', '0', '2', '0', '1', '0', '1', '0', '1'],\n      '7',\n      4,\n      'Draw: 4',\n      [False, True, False, True, False, True, False, True, False, True],\n      [0, -1, 1, 0, 2, 1, 2, 0, 1, 0],\n      63653233024470732271264476184228625543),\n     ('Sam Steep',\n      'event.php?view=Team&eventid=6400&teamid=144348&profileid=25961&eventid=6400&teamid=144351&profileid=25978#1',\n      False,\n      ['1', '0', '0', '2', '0', '1', '1', '0', '1', '1'],\n      '7',\n      4,\n      'Draw: 4',\n      [False, False, True, True, False, True, False, False, True, False],\n      [0, 1, 0, -2, 0, -2, -1, 0, -1, 0],\n      279469483516704960424550934244064693031),\n     ('Jason March',\n      'event.php?view=Team&eventid=6400&teamid=144348&profileid=25961&eventid=6400&teamid=144350#1',\n      True,\n      ['0', '1', '2', '0', '2', '0', '0', '1', '0', '0'],\n      '6',\n      4,\n      'Draw: 4',\n      [True, True, False, False, True, False, True, True, False, True],\n      [0, -1, 0, 2, 0, 2, 1, 0, 1, 0],\n      279469483516704960424550934244064693031),\n     ('Dayna Deruelle',\n      'event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144346&profileid=26636#1',\n      False,\n      ['0', '2', '1', '1', '1', '0', '3', 'X'],\n      '8',\n      4,\n      'Draw: 4',\n      [False, True, False, False, False, False, True, False],\n      [0, -1, 1, 2, 3, 4, 3, 6],\n      291113397726148010907174443006816563924),\n     ('Rob Ainsley',\n      'event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144345&profileid=15779#1',\n      True,\n      ['1', '0', '0', '0', '0', '1', '0', 'X'],\n      '2',\n      4,\n      'Draw: 4',\n      [True, False, True, True, True, True, False, True],\n      [0, 1, -1, -2, -3, -4, -3, -6],\n      291113397726148010907174443006816563924),\n     ('Sam Steep',\n      'event.php?view=Team&eventid=6400&teamid=144351&profileid=25978#1',\n      False,\n      ['0', '1', '0', '0', '0', '2', '0', '2', '0', '0'],\n      '5',\n      5,\n      'Draw: 5',\n      [False, False, False, True, True, True, False, True, False, False],\n      [0, 0, 1, 0, -1, -3, -1, -3, -1, -1],\n      95866945533461342246819997703085723055),\n     ('Richard Krell',\n      'event.php?view=Team&eventid=6400&teamid=144349&profileid=25962#1',\n      True,\n      ['0', '0', '1', '1', '2', '0', '2', '0', '0', '1'],\n      '7',\n      5,\n      'Draw: 5',\n      [True, True, True, False, False, False, True, False, True, True],\n      [0, 0, -1, 0, 1, 3, 1, 3, 1, 1],\n      95866945533461342246819997703085723055),\n     ('Dayna Deruelle',\n      'event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144346&profileid=26636#1',\n      False,\n      ['0', '0', '1', '0', '0', '0', '1', '0', '3', '1', '0'],\n      '6',\n      5,\n      'Draw: 5',\n      [False, True, True, False, True, True, True, False, True, False, False],\n      [0, -1, -1, 0, -1, -1, -3, -2, -4, -1, 0],\n      233581897033627594667237538445333000951),\n     ('Tyler Stewart',\n      'event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144352&profileid=12477#1',\n      True,\n      ['1', '0', '0', '1', '0', '2', '0', '2', '0', '0', '1'],\n      '7',\n      5,\n      'Draw: 5',\n      [True, False, False, True, False, False, False, True, False, True, True],\n      [0, 1, 1, 0, 1, 1, 3, 2, 4, 1, 0],\n      233581897033627594667237538445333000951),\n     ('Richard Krell',\n      'event.php?view=Team&eventid=6400&teamid=144349&profileid=25962#1',\n      False,\n      ['0', '0', '1', '1', '0', '0', '1', '0', 'X'],\n      '3',\n      6,\n      'Draw: 6',\n      [False, False, True, False, False, True, True, False, True],\n      [0, 0, -2, -1, 0, -2, -5, -4, -5],\n      61203104491141348409761697458039616615),\n     ('Tyler Stewart',\n      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477#1',\n      True,\n      ['0', '2', '0', '0', '2', '3', '0', '1', 'X'],\n      '8',\n      6,\n      'Draw: 6',\n      [True, True, False, True, True, False, False, True, False],\n      [0, 0, 2, 1, 0, 2, 5, 4, 5],\n      61203104491141348409761697458039616615),\n     ('Tyler Stewart',\n      'event.php?view=Team&eventid=6400&teamid=144352&profileid=12477#1',\n      False,\n      ['0', '0', '1', '1', '0', '3', '0', '0', '1', '0'],\n      '6',\n      7,\n      'Draw: 7',\n      [False, False, True, False, False, True, False, False, True, False],\n      [0, 0, -1, 0, 1, -2, 1, 1, 0, 1],\n      4915701019265174384644466584441738333),\n     ('Matthew Hall',\n      'event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1',\n      True,\n      ['0', '1', '0', '0', '3', '0', '0', '1', '0', '2'],\n      '7',\n      7,\n      'Draw: 7',\n      [True, True, False, True, True, False, True, True, False, True],\n      [0, 0, 1, 0, -1, 2, -1, -1, 0, -1],\n      4915701019265174384644466584441738333)]\n\n\n\nThe `get_flat_boxscores` method can also be used to return a list of `Boxscore` objects for convenience. \n\n```python\nevent.get_flat_boxscores(flat=False)\n```\n\n\n\n\n    [Boxscore(team_name='Damien Villard', href='event.php?view=Team&eventid=6400&teamid=144354&profileid=27373#1', hammer_start=True, score=['0', '0', '0', '0', 'X'], final_score='0', draw_num=1, draw='Draw: 1', hammer_progression=[True, True, True, True, True], relative_score=[0, -1, -4, -6, -8], guid=209707243860236114112314247393927711356),\n     Boxscore(team_name='Matthew Hall', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1', hammer_start=False, score=['1', '3', '2', '2', 'X'], final_score='8', draw_num=1, draw='Draw: 1', hammer_progression=[False, False, False, False, False], relative_score=[0, 1, 4, 6, 8], guid=209707243860236114112314247393927711356),\n     Boxscore(team_name='Matthew Mepstead', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144356#1', hammer_start=False, score=['0', '0', '1', '1', '0', '1', '0', '0', '0', '1', '0'], final_score='4', draw_num=1, draw='Draw: 1', hammer_progression=[False, False, True, False, False, True, False, False, False, True, False], relative_score=[0, 0, -2, -1, 0, -1, 0, 0, 0, -1, 0], guid=38537103347544582345141893615297919005),\n     Boxscore(team_name='Tyler Stewart', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144352&profileid=12477#1', hammer_start=True, score=['0', '2', '0', '0', '1', '0', '0', '0', '1', '0', '1'], final_score='5', draw_num=1, draw='Draw: 1', hammer_progression=[True, True, False, True, True, False, True, True, True, False, True], relative_score=[0, 0, 2, 1, 0, 1, 0, 0, 0, 1, 0], guid=38537103347544582345141893615297919005),\n     Boxscore(team_name='Jason March', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144350#1', hammer_start=False, score=['0', '2', '0', '1', '0', '2', '2', '0', '2', 'X'], final_score='9', draw_num=1, draw='Draw: 1', hammer_progression=[False, False, False, False, False, True, False, False, True, False], relative_score=[0, 0, 2, 2, 3, 2, 4, 6, 3, 5], guid=272348649831484335603593027216985821953),\n     Boxscore(team_name='Sam Steep', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144351&profileid=25978#1', hammer_start=True, score=['0', '0', '0', '0', '1', '0', '0', '3', '0', 'X'], final_score='4', draw_num=1, draw='Draw: 1', hammer_progression=[True, True, True, True, True, False, True, True, False, True], relative_score=[0, 0, -2, -2, -3, -2, -4, -6, -3, -5], guid=272348649831484335603593027216985821953),\n     Boxscore(team_name='Wayne Tuck Jr.', href='event.php?view=Team&eventid=6400&teamid=144353&profileid=12486#1', hammer_start=True, score=['0', '2', '0', '0', '0', '0', '1', '1', '1', '0'], final_score='5', draw_num=2, draw='Draw: 2', hammer_progression=[True, True, False, True, True, True, True, False, False, False], relative_score=[0, 0, 2, -2, -2, -2, -3, -2, -1, 0], guid=95112284881200216258215191883153462659),\n     Boxscore(team_name='Matthew Hall', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1', hammer_start=False, score=['0', '0', '4', '0', '0', '1', '0', '0', '0', '2'], final_score='7', draw_num=2, draw='Draw: 2', hammer_progression=[False, False, True, False, False, False, False, True, True, True], relative_score=[0, 0, -2, 2, 2, 2, 3, 2, 1, 0], guid=95112284881200216258215191883153462659),\n     Boxscore(team_name='Dayna Deruelle', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144346&profileid=26636#1', hammer_start=False, score=['0', '0', '1', '0', '0', '0', '0', 'X'], final_score='1', draw_num=2, draw='Draw: 2', hammer_progression=[False, False, True, False, True, True, True, True], relative_score=[0, 0, -2, -1, -3, -4, -5, -9], guid=59643628877953807377369574857821892232),\n     Boxscore(team_name='Tyler Stewart', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435&eventid=6400&teamid=144352&profileid=12477#1', hammer_start=True, score=['0', '2', '0', '2', '1', '1', '4', 'X'], final_score='10', draw_num=2, draw='Draw: 2', hammer_progression=[True, True, False, True, False, False, False, False], relative_score=[0, 0, 2, 1, 3, 4, 5, 9], guid=59643628877953807377369574857821892232),\n     Boxscore(team_name='Mark Kean', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144348&profileid=25961#1', hammer_start=True, score=['2', '0', '1', '0', '0', '0', '1', '3', 'X'], final_score='7', draw_num=2, draw='Draw: 2', hammer_progression=[True, False, False, False, False, True, True, False, False], relative_score=[0, 2, 2, 3, 3, 1, 0, 1, 4], guid=122217858840490332010920244446431255640),\n     Boxscore(team_name='Jason March', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144350#1', hammer_start=False, score=['0', '0', '0', '0', '2', '1', '0', '0', 'X'], final_score='3', draw_num=2, draw='Draw: 2', hammer_progression=[False, True, True, True, True, False, False, True, True], relative_score=[0, -2, -2, -3, -3, -1, 0, -1, -4], guid=122217858840490332010920244446431255640),\n     Boxscore(team_name='Richard Krell', href='event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144349&profileid=25962#1', hammer_start=True, score=['2', '0', '1', '0', '2', '1', '1', 'X'], final_score='7', draw_num=2, draw='Draw: 2', hammer_progression=[True, False, False, False, True, False, False, False], relative_score=[0, 2, 2, 3, 2, 4, 5, 6], guid=335702133606077232579627915311442373664),\n     Boxscore(team_name='Rob Ainsley', href='event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144345&profileid=15779#1', hammer_start=False, score=['0', '0', '0', '1', '0', '0', '0', 'X'], final_score='1', draw_num=2, draw='Draw: 2', hammer_progression=[False, True, True, True, False, True, True, True], relative_score=[0, -2, -2, -3, -2, -4, -5, -6], guid=335702133606077232579627915311442373664),\n     Boxscore(team_name='Matthew Hall', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1', hammer_start=True, score=['0', '0', '2', '1', '2', '1', '0', '2', 'X'], final_score='8', draw_num=3, draw='Draw: 3', hammer_progression=[True, True, True, False, False, False, False, True, False], relative_score=[0, 0, -1, 1, 2, 4, 5, 3, 5], guid=53772503334370441085334378293107653659),\n     Boxscore(team_name='Tyler Stewart', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477#1', hammer_start=False, score=['0', '1', '0', '0', '0', '0', '2', '0', 'X'], final_score='3', draw_num=3, draw='Draw: 3', hammer_progression=[False, False, False, True, True, True, True, False, True], relative_score=[0, 0, 1, -1, -2, -4, -5, -3, -5], guid=53772503334370441085334378293107653659),\n     Boxscore(team_name='Mark Kean', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144348&profileid=25961#1', hammer_start=True, score=['0', '5', '0', '1', '1', '1', 'X'], final_score='8', draw_num=3, draw='Draw: 3', hammer_progression=[True, True, False, True, False, False, False], relative_score=[0, -1, 4, 3, 4, 5, 6], guid=310456475955908017873561887016699672637),\n     Boxscore(team_name='Richard Krell', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477&eventid=6400&teamid=144349&profileid=25962#1', hammer_start=False, score=['1', '0', '1', '0', '0', '0', 'X'], final_score='2', draw_num=3, draw='Draw: 3', hammer_progression=[False, False, True, False, True, True, True], relative_score=[0, 1, -4, -3, -4, -5, -6], guid=310456475955908017873561887016699672637),\n     Boxscore(team_name='Damien Villard', href='event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144354&profileid=27373#1', hammer_start=True, score=['2', '1', '0', '1', '0', '0', '1', '0', '0', '0'], final_score='5', draw_num=3, draw='Draw: 3', hammer_progression=[True, False, False, True, False, True, True, False, True, True], relative_score=[0, 2, 3, 2, 3, 1, 1, 2, 1, 0], guid=303047434632680540438656592556261333287),\n     Boxscore(team_name='Sam Steep', href='event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144351&profileid=25978#1', hammer_start=False, score=['0', '0', '1', '0', '2', '0', '0', '1', '1', '1'], final_score='6', draw_num=3, draw='Draw: 3', hammer_progression=[False, True, True, False, True, False, False, True, False, False], relative_score=[0, -2, -3, -2, -3, -1, -1, -2, -1, 0], guid=303047434632680540438656592556261333287),\n     Boxscore(team_name='Jason March', href='event.php?view=Team&eventid=6400&teamid=144351&profileid=25978&eventid=6400&teamid=144350#1', hammer_start=True, score=['1', '1', '0', '0', '0', '0', '2', '1', '2', 'X'], final_score='7', draw_num=3, draw='Draw: 3', hammer_progression=[True, False, False, True, True, True, True, False, False, False], relative_score=[0, 1, 2, 1, 0, 0, 0, 2, 3, 5], guid=229699058183107339172217417532449914369),\n     Boxscore(team_name='Matthew Mepstead', href='event.php?view=Team&eventid=6400&teamid=144351&profileid=25978&eventid=6400&teamid=144356#1', hammer_start=False, score=['0', '0', '1', '1', '0', '0', '0', '0', '0', 'X'], final_score='2', draw_num=3, draw='Draw: 3', hammer_progression=[False, True, True, False, False, False, False, True, True, True], relative_score=[0, -1, -2, -1, 0, 0, 0, -2, -3, -5], guid=229699058183107339172217417532449914369),\n     Boxscore(team_name='Wayne Tuck Jr.', href='event.php?view=Team&eventid=6400&teamid=144356&profileid=0&eventid=6400&teamid=144353&profileid=12486#1', hammer_start=False, score=['0', '0', '0', '2', '0', '0', '0', '0', 'X'], final_score='2', draw_num=3, draw='Draw: 3', hammer_progression=[False, True, True, True, False, True, True, True, True], relative_score=[0, -2, -3, -3, -1, -2, -4, -5, -6], guid=195399470224611539512163135746754073908),\n     Boxscore(team_name='Rob Ainsley', href='event.php?view=Team&eventid=6400&teamid=144356&profileid=0&eventid=6400&teamid=144345&profileid=15779#1', hammer_start=True, score=['2', '1', '0', '0', '1', '2', '1', '1', 'X'], final_score='8', draw_num=3, draw='Draw: 3', hammer_progression=[True, False, False, False, True, False, False, False, False], relative_score=[0, 2, 3, 3, 1, 2, 4, 5, 6], guid=195399470224611539512163135746754073908),\n     Boxscore(team_name='Matthew Hall', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1', hammer_start=True, score=['1', '0', '1', '0', '1', '0', '2', '0', '1', '0'], final_score='6', draw_num=4, draw='Draw: 4', hammer_progression=[True, False, True, False, True, False, True, False, True, False], relative_score=[0, 1, -1, 0, -2, -1, -2, 0, -1, 0], guid=63653233024470732271264476184228625543),\n     Boxscore(team_name='Mark Kean', href='event.php?view=Team&eventid=6400&teamid=144348&profileid=25961#1', hammer_start=False, score=['0', '2', '0', '2', '0', '1', '0', '1', '0', '1'], final_score='7', draw_num=4, draw='Draw: 4', hammer_progression=[False, True, False, True, False, True, False, True, False, True], relative_score=[0, -1, 1, 0, 2, 1, 2, 0, 1, 0], guid=63653233024470732271264476184228625543),\n     Boxscore(team_name='Sam Steep', href='event.php?view=Team&eventid=6400&teamid=144348&profileid=25961&eventid=6400&teamid=144351&profileid=25978#1', hammer_start=False, score=['1', '0', '0', '2', '0', '1', '1', '0', '1', '1'], final_score='7', draw_num=4, draw='Draw: 4', hammer_progression=[False, False, True, True, False, True, False, False, True, False], relative_score=[0, 1, 0, -2, 0, -2, -1, 0, -1, 0], guid=279469483516704960424550934244064693031),\n     Boxscore(team_name='Jason March', href='event.php?view=Team&eventid=6400&teamid=144348&profileid=25961&eventid=6400&teamid=144350#1', hammer_start=True, score=['0', '1', '2', '0', '2', '0', '0', '1', '0', '0'], final_score='6', draw_num=4, draw='Draw: 4', hammer_progression=[True, True, False, False, True, False, True, True, False, True], relative_score=[0, -1, 0, 2, 0, 2, 1, 0, 1, 0], guid=279469483516704960424550934244064693031),\n     Boxscore(team_name='Dayna Deruelle', href='event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144346&profileid=26636#1', hammer_start=False, score=['0', '2', '1', '1', '1', '0', '3', 'X'], final_score='8', draw_num=4, draw='Draw: 4', hammer_progression=[False, True, False, False, False, False, True, False], relative_score=[0, -1, 1, 2, 3, 4, 3, 6], guid=291113397726148010907174443006816563924),\n     Boxscore(team_name='Rob Ainsley', href='event.php?view=Team&eventid=6400&teamid=144350&profileid=0&eventid=6400&teamid=144345&profileid=15779#1', hammer_start=True, score=['1', '0', '0', '0', '0', '1', '0', 'X'], final_score='2', draw_num=4, draw='Draw: 4', hammer_progression=[True, False, True, True, True, True, False, True], relative_score=[0, 1, -1, -2, -3, -4, -3, -6], guid=291113397726148010907174443006816563924),\n     Boxscore(team_name='Sam Steep', href='event.php?view=Team&eventid=6400&teamid=144351&profileid=25978#1', hammer_start=False, score=['0', '1', '0', '0', '0', '2', '0', '2', '0', '0'], final_score='5', draw_num=5, draw='Draw: 5', hammer_progression=[False, False, False, True, True, True, False, True, False, False], relative_score=[0, 0, 1, 0, -1, -3, -1, -3, -1, -1], guid=95866945533461342246819997703085723055),\n     Boxscore(team_name='Richard Krell', href='event.php?view=Team&eventid=6400&teamid=144349&profileid=25962#1', hammer_start=True, score=['0', '0', '1', '1', '2', '0', '2', '0', '0', '1'], final_score='7', draw_num=5, draw='Draw: 5', hammer_progression=[True, True, True, False, False, False, True, False, True, True], relative_score=[0, 0, -1, 0, 1, 3, 1, 3, 1, 1], guid=95866945533461342246819997703085723055),\n     Boxscore(team_name='Dayna Deruelle', href='event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144346&profileid=26636#1', hammer_start=False, score=['0', '0', '1', '0', '0', '0', '1', '0', '3', '1', '0'], final_score='6', draw_num=5, draw='Draw: 5', hammer_progression=[False, True, True, False, True, True, True, False, True, False, False], relative_score=[0, -1, -1, 0, -1, -1, -3, -2, -4, -1, 0], guid=233581897033627594667237538445333000951),\n     Boxscore(team_name='Tyler Stewart', href='event.php?view=Team&eventid=6400&teamid=144349&profileid=25962&eventid=6400&teamid=144352&profileid=12477#1', hammer_start=True, score=['1', '0', '0', '1', '0', '2', '0', '2', '0', '0', '1'], final_score='7', draw_num=5, draw='Draw: 5', hammer_progression=[True, False, False, True, False, False, False, True, False, True, True], relative_score=[0, 1, 1, 0, 1, 1, 3, 2, 4, 1, 0], guid=233581897033627594667237538445333000951),\n     Boxscore(team_name='Richard Krell', href='event.php?view=Team&eventid=6400&teamid=144349&profileid=25962#1', hammer_start=False, score=['0', '0', '1', '1', '0', '0', '1', '0', 'X'], final_score='3', draw_num=6, draw='Draw: 6', hammer_progression=[False, False, True, False, False, True, True, False, True], relative_score=[0, 0, -2, -1, 0, -2, -5, -4, -5], guid=61203104491141348409761697458039616615),\n     Boxscore(team_name='Tyler Stewart', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477#1', hammer_start=True, score=['0', '2', '0', '0', '2', '3', '0', '1', 'X'], final_score='8', draw_num=6, draw='Draw: 6', hammer_progression=[True, True, False, True, True, False, False, True, False], relative_score=[0, 0, 2, 1, 0, 2, 5, 4, 5], guid=61203104491141348409761697458039616615),\n     Boxscore(team_name='Tyler Stewart', href='event.php?view=Team&eventid=6400&teamid=144352&profileid=12477#1', hammer_start=False, score=['0', '0', '1', '1', '0', '3', '0', '0', '1', '0'], final_score='6', draw_num=7, draw='Draw: 7', hammer_progression=[False, False, True, False, False, True, False, False, True, False], relative_score=[0, 0, -1, 0, 1, -2, 1, 1, 0, 1], guid=4915701019265174384644466584441738333),\n     Boxscore(team_name='Matthew Hall', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1', hammer_start=True, score=['0', '1', '0', '0', '3', '0', '0', '1', '0', '2'], final_score='7', draw_num=7, draw='Draw: 7', hammer_progression=[True, True, False, True, True, False, True, True, False, True], relative_score=[0, 0, 1, 0, -1, 2, -1, -1, 0, -1], guid=4915701019265174384644466584441738333)]\n\n\n\n```python\nevent.get_flat_boxscores()[0]\n```\n\n\n\n\n    Boxscore(team_name='Damien Villard', href='event.php?view=Team&eventid=6400&teamid=144354&profileid=27373#1', hammer_start=True, score=['0', '0', '0', '0', 'X'], final_score='0', draw_num=1, draw='Draw: 1', hammer_progression=[True, True, True, True, True], relative_score=[0, -1, -4, -6, -8], guid=209707243860236114112314247393927711356)\n\n\n\n```python\nevent.get_flat_boxscores()[-1]\n```\n\n\n\n\n    Boxscore(team_name='Matthew Hall', href='event.php?view=Team&eventid=6400&teamid=144347&profileid=12435#1', hammer_start=True, score=['0', '1', '0', '0', '3', '0', '0', '1', '0', '2'], final_score='7', draw_num=7, draw='Draw: 7', hammer_progression=[True, True, False, True, True, False, True, True, False, True], relative_score=[0, 0, 1, 0, -1, 2, -1, -1, 0, -1], guid=4915701019265174384644466584441738333)\n\n\n\n## About czapi\nczapi is a Python library for scraping curling linescores.\n\n\n",
    "bugtrack_url": null,
    "license": "Apache Software License 2.0",
    "summary": "CurlingZone scraper API.",
    "version": "0.2.0",
    "project_urls": {
        "Homepage": "https://github.com/calicorob/czapi/tree/master/"
    },
    "split_keywords": [
        "curling",
        "stats"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3413d6861b3277788c1d5334b36511e5aec6db3eca77739d2a2553d66de507e7",
                "md5": "5f03589f136a5e14d2c640f53b866904",
                "sha256": "090db3c71d707ec7ce0a93a3a47dba0294c7f218b946579bfa072559c4f187cf"
            },
            "downloads": -1,
            "filename": "czapi-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5f03589f136a5e14d2c640f53b866904",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 22876,
            "upload_time": "2023-06-23T03:57:41",
            "upload_time_iso_8601": "2023-06-23T03:57:41.943238Z",
            "url": "https://files.pythonhosted.org/packages/34/13/d6861b3277788c1d5334b36511e5aec6db3eca77739d2a2553d66de507e7/czapi-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "40377267ec15612e59ba1297fa42d5c6bf450d98225a76871fb82615d7d4239a",
                "md5": "9e5b99619ed8cd82d88622e29d3e3393",
                "sha256": "8caf301d2abed90551ec0eb6c9bc1e41c1f028d28b7d3a6e43015a440a753de5"
            },
            "downloads": -1,
            "filename": "czapi-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9e5b99619ed8cd82d88622e29d3e3393",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 29057,
            "upload_time": "2023-06-23T03:57:43",
            "upload_time_iso_8601": "2023-06-23T03:57:43.600619Z",
            "url": "https://files.pythonhosted.org/packages/40/37/7267ec15612e59ba1297fa42d5c6bf450d98225a76871fb82615d7d4239a/czapi-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-23 03:57:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "calicorob",
    "github_project": "czapi",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "czapi"
}
        
Elapsed time: 0.19870s