Farming Simulator UK Forum » Multiplayer Stats API

The Multiplayer Stats API enables you to access data about GIANTS multiplayer servers, and embed them in your website.

The data for this widget originates from a GIANTS feed and is stored by LS-UK. The data is updated from GIANTS every 10 minutes.


Simple Integration - iFrame

Difficulty: Easy

You can embed the stats, without too much customisation, using an iFrame like below:


HTML CodeOutput

Just paste the HTML code into where you want the iframe to appear

Advanced Integration - PHP

Difficulty: Moderate

For a more customised widget, you can use php fopen to get the data:


PHPCodeOutput

By accessing the content in this manner, you can customise the output of the widget, for example using CSS to style it. The class name for the container div is "giantsMpServerStats". Please note that this implementation requires PHP and the use of fopen.

© 2012 Peterson-web / Razor Studios
Page load time: 0.083s