Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
A basic API for scraping curling boxscores off of the popular CurlingZone website.
pip install czapi
import czapi.api as api
czapi is based around the LinescorePage
object which represents a linescore page on the CurlingZone website.
Click here to see an example linescore page.
Creating an instance of the LinescorePage
class gives access to every boxscore on that linescore page.
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:
https://curlingzone.com/event.php?eventid=7795&view=Scores&showdrawid=21#1
The boxscores on the linescore page can be accessed through the boxscores
property which returns a list of boxscores.
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:
Individual boxscores can be accessed through the get_boxscore_from
method.
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:
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:
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.
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:
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:
You'll also notice the NormalizedBoxscore
object has a guid property which identifies that two NormalizedHalfBoxscore
belong to the same game.
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.
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)]
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
.
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.
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.
event.pages[2]
LinescorePage(cz_event_id=6400, cz_draw_id=3)
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.
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.
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)]
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)
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)
czapi is a Python library for scraping curling linescores.
FAQs
CurlingZone scraper API.
We found that czapi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.