topical media & game development
mobile-application-10-DerbyApp-Resources-network-derbyservice.js / js
function derbyservice(){
var baseServiceUrl = "http://derbynames.gravityworksdesign.com/DerbyNamesService.svc/";
this.getAllNames = function (successFunction)
{
var serviceString = baseServiceUrl + "DerbyNames";
odata.getData(serviceString, successFunction);
}
this.getTeamNames = function(successFunction)
{
var serviceString = baseServiceUrl + "Leagues";
odata.getData(serviceString, successFunction);
}
this.getRoster = function (successFunction, leagueName)
{
var serviceString = baseServiceUrl + "DerbyNames?
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.