bf3statsA Python library for accessing the bf3stats API | |
Download |
bf3stats Ranking & Summary
Advertisement
- License:
- GPL
- Price:
- FREE
- Publisher Name:
- Harry Gabriel
- Publisher web site:
- https://github.com/ozon/
bf3stats Tags
bf3stats Description
bf3stats provides a simple Python interface to the bf3stats.com API.Where is the documentation?Maybe I'll add one in the near future. Feel free to fork this repository and create one. I look forward to pull requests.Code example?import bf3statsbf3stats = bf3stats.api()# show count of online playersbf3stats.onlinestats()Should show a dict: {360: 18166, pc: 38419, ps3: 40362, u'status': u'ok'} Or use the object _onlinestats = bf3stats.onlinestats() and access the values with _onlinestats.pc.import bf3statsbf3stats = bf3stats.api()# get a dict with short stats of player O2ON_player = bf3stats.player('O2ON')Look in the _player dict/object.Product's homepage
bf3stats Related Software