| Login | Register

Documentation : XCglobe web widgets

You can display your team's latest flights or competition scoreboard on your own website by adding a simple html widget.

1. Team's latest flights

<div id="xcg_widget"></div>
<script type="text/javascript" src="http://xcglobe.com/res/js/export.js"></script>
<script type="text/javascript">
xcg_team('team_id');
</script>

team_id - team code. You can find it on the Team page:


2. Competition scoreboard

<div id="xcg_widget"></div>
<script type="text/javascript" src="http://xcglobe.com/res/js/export.js"></script>
<script type="text/javascript">
xcg_competition('comp_id');
</script>

comp_id - competition code. You can find it on the Competition page:




Web widgets API v2.0, 2017-01-05