|
Current time
Server: 2013-05-24 17:57:40
GMT: 2013-05-24 15:57:40
|
Donation to GPCOS
If you enjoy GPCOS, please consider making a donation to the person who created and maintains the system.
If you want to have your own installation of GPCOS to support your leagues, please contact Jaap for more information.
|
|
|
GPCOS webservice architecture
|
GPCOS comes with a set of webservices that allows registered leagues to show results and standings on other sites. GPCOS applies
a new technology in using webservices. You can preview the way the webservices here.
This page provides explanation on how to implement this on your own website. Basically, web services allow you to call something
on GPCOS regardless of the structure of architecture of your own website. If you have an ASP.NET website, you call the website by
using ASP.NET. If you are running a PHP site, you call the webservice using the web services possibilities that PHP provide. Easy
as that. Just follow the steps below to integrate the GPCOS webservices on your site.
Currently available GPCOS webservices:
- getStandings (view WSDL, view demo)
A webservice that displays the current standings of a specified league in GPCOS.
- getTeamsDrivers (view WSDL, download required files + example of consuming the service)
A webservice that displays the current team and driver line-up of a specified league in GPCOS (now with CSS support!).
- getSeasonResults (view WSDL)
A webservice that displays the individual race results of a specified season of a specified GPCOS league (configure and with CSS support for rendering on your page).
- More services to be added soon...
Installation and configuration explanation:
PHP site:
- Download the nusoap class.
- Download CSS file example (with required GPCOS classes as example).
- Download a GPCOS webservice example.
- Open the gpcos-webservice-get-standings.php page and change the arguments that are shown in the webservice call of the getStandings method (explanation in the php file). Be aware that this example assumes that nusoap.php is located in the folder 'class'. This folder should be located in the folder where the webservice call is made.
- Open the page where you want the table to be shown or create a new php page that will show the output of the webservice.
- Try playing around with the various arguments of the webservice. Make sure you have the correct LeagueID.
- Save your page and upload it to your website.
- Create the folder 'class' in your website and upload the file nusoap.php to it.
- Load the page and see the result!
ASP.NET site:
In case of problems or questions, contact Jaap Wagenvoort on the webservice architecture of GPCOS.
|
|
|
Last official comment
Date: 2013-05-21 19:04:56 League: TorniLiiga Track: Vitus Club
No items found.
|
|