Battlelog plugin for B3
This plugin extends B3 to the ability to obtain player data from Battlelog.
The Client Object gets a new property that includes a the clanTag
and platoonName
.
For players currently no functions are provided. Is interesting rather for plugin developers.
- retrieve player clantag and platoon from battlelog
- cache results
-
Copy the extplugins/battlelog folder into your
b3/extplugins
folder and extplugins/conf/plugin_battlelog.ini into yourb3/conf
folder -
This plugin requires the great requests module. That can be installed with the command
easy_install requests
. -
Import the table structure sql/battlelog_users.sql into your b3 database
-
Add the following line in your b3.xml file (below the other plugin lines)
<plugin name="battlelog" config="@conf/plugin_battlelog.ini"/>