32 coaches online • Server time: 10:07
* * * Did you know? The best passer is Cherrystone Hotpack with 656 completions.
Log in
Recent Forum Topics goto Post What happens when yo...goto Post Standard League rule...goto Post Custom rosters
SzieberthAdam
Online
Goblin
[R]
Veteran
Goblin
Record
12/2/21
Win Percentage
37%
Dwarf
[B]
Legend
Dwarf
Record
28/11/10
Win Percentage
68%
Overall
[R]
Emerging Star
Overall
Record
346/181/320
Win Percentage
52%
Archive

2018

2018-05-23 20:47:44
rating 5.3
2018-03-10 21:42:18
rating 5
2018-02-28 20:09:49
rating 6
2018-02-23 23:24:45
rating 5.2
2018-02-05 17:13:07
rating 6
2018-01-30 20:22:27
rating 5.4
2018-01-21 15:14:20
rating 5.4
2018-01-03 18:37:49
rating 5.5

2017

2017-03-28 20:58:26
rating 6
2017-03-05 14:13:37
rating 6
2017-03-01 13:21:58
rating 6
2017-02-22 18:16:02
rating 5.8
2017-01-03 01:29:37
rating 6

2016

2016-02-25 22:11:34
rating 5.4

2015

2015-01-07 22:57:07
rating 5.9
2015-01-03 18:35:23
rating 6

2014

2014-11-17 20:31:10
rating 6
2014-11-16 21:15:06
rating 6
2014-09-23 18:32:17
rating 5.7
2014-09-02 21:23:29
rating 6
2014-01-23 08:34:14
rating 6

2013

2013-12-19 19:07:11
rating 4.2
2013-11-10 02:18:27
rating 5.4
2013-10-19 13:49:18
rating 5.1
2013-10-01 19:35:14
rating 5
2013-09-24 12:03:28
rating 5.9
2013-08-06 23:48:54
rating 6
2013-11-04 17:14:10
10 votes, rating 5.4
Coachlist CSV and Match Result Parser in Python
Hi mates!

If you are not interested in programming stuff, don't continue to read!

I am working on a bigger programming project ATM. However, sometimes my head is full with it and then I do some fun programming. This resulted some FUMBBL related code in the last weeks. You can find them on my GitHub page.

What is there?

data/coaches/c2013-10.csv

ID, nick, join date, real name, location, and record of all coaches as of the end of October, 2013.

groups/*

Version controlled groupinfo text for my groups infBOWL and infBOWL Friends.

pyFUMBBL/*

FUMBBL toolkit for Python 3.3+. It is under development. However the match.api and the match.htm are working nicely. Both returns compatible builtin Python dictionaries of match data.

matches.api.get_match_info(match_id=None, coach_id=None, startpage=1, endpage=1): If you pass a match_id, it will yield the data of that match only. If you pass a coach_id it will yield that coach's matches. If you omit both, it generates results of all matches. If you want not only the first page but more than that, set endpage to 1000000. By default, it generates match data dictionaries of the most recent page of finished matches.

Unfortunately, the API match report does not include data of inducements, coach ratings, permanent injuries, etc. However, it has the division information which is missing from the HTML match report page we all know well.

matches.htm.get_match_info(match_id): Returns the match info dictionary of one match. The data are taken from the HTML match result page.

I have progress parsing FFB replay streams aswell, so team rosters of a match will be also available soon, and maybe a lot more interesting stats and infos. I fancy making a tiny application for you to keep tracking of matches, have favourites, getting enhanced stats, etc.

The toolkit will help my research of FFB matches.

Cheers,
Ádám


Rate this entry
Comments
Posted by roante on 2013-11-04 18:17:54
Great work, Ádám!
Posted by WoodPusher on 2013-11-05 02:56:30
Rated 6 to pretend I know what's going on.