43 coaches online • Server time: 15:08
* * * Did you know? There are 431758 active teams in FUMBBL.
Log in
Recent Forum Topics goto Post All Star Bowl!!!goto Post New team needed. 11...goto Post Team Strength - Rebo...
Gremdel
Last seen 12 years ago
Overall
Rookie
Overall
Record
0/0/0
Win Percentage
n/a
Archive

2013

2013-01-29 18:04:20
rating 5.8

2012

2012-02-23 20:06:35
rating 5.8
2012-02-23 20:06:35
18 votes, rating 5.8
FUMBBL Python Scripts
Inspired by Shraaag's blog I embarked on a little FUMBBL API exploration. Python is a language I like to mess around with, so I created a script to create league leader tables. You can see the results on the Three Die Block league.

So, my question is this. One, would anyone like a copy of the script? It's designed to run on your computer (if you have Python 3.3 installed), not on a website. Also, I don't do a lot of error checking because it's just a personal script that I can run again if it times out (I actually haven't had any problems with that yet).

I'm fairly happy with the script as is, it does what I want for the league and I don't plan to change it much. However, if there's a lot of demand, I may modify it. For example, right now it downloads all the player icon information every time it's run. If lots of people want it, I may make it generate an XML file with all the information which could be read later.
Rate this entry
Comments
Posted by yggi49 on 2012-02-24 09:10:07
Would you mind posting it on Github (or the likes)?
Posted by Garion on 2012-02-24 11:16:39
This is great. does it automatically generate the HTMl for the tables?
Posted by zakatan on 2012-02-24 14:44:20
odd, your script/html (I guess) messed with the recent forum topics also (win7 + Chrome)
Posted by Gremdel on 2012-02-24 16:12:41
@yggi49 Will do, later today.

@zakatan Do you mind elaborating?
Posted by yggi49 on 2012-02-24 20:00:41
Great, I am looking forward to it. Thanks!
Posted by Gremdel on 2012-02-25 08:28:23
Took me a while to figure it out, but it's available at https://github.com/sahern/FUMBBLAPI-Python.