Battlefield 3 stats for your own site?

Battlelog is very useful but sometimes you want to have stats for your own site.

With that in mind I’ve come across 2 APIs that can be used to talk to EA’s servers:

  • have an API for Battlefield 2 that is the same as the one for
  • The api is explained here and looks fairly easy to work with.
  • There’s also a WordPress plugin that uses the api to power a widget.

I haven’t tried any of the above but I will be downloading the WordPress plugin, hopefully I can submit a few patches to the author if I can as we’ll need shortcode support if it’s to work on the B2C site.

By Donncha

Donncha Ó Caoimh is a software developer at Automattic and WordPress plugin developer. He posts photos at In Photos and can also be found on Twitter.

5 replies on “Battlefield 3 stats for your own site?”

Glad you found this Donncha, I plan on changing the code so that I can grab a list of players and output it in a table format. I haven;t really done WP plugins before, but I took a quick 5 minute look and it seems simple to customize for my site.

Doing a more generic shortcode approach looks to be work though, if you do that, I’d love to use that instead.

WP does rule.

Leave a Reply