The 'One League API' Initiative

You are viewing a wiki page. You are welcome to join the group and then edit it. Be bold!


  • To provide a single, flexible, and efficient data model and related API which can be leveraged by any sports/league related modules
  • To consolidate the functionality of existing D6 league-related modules into a single D7 collection, thus reducing duplication and increasing interoperability of league related modules
  • To build a strong foundation of both new and existing league-related module maintainers, building a strong pool of experience to support future enhancements, plugins, features, and support of sport/league related Drupal modules.

Features and Flexibility

The API and data model should be flexible enough to support each of the following: (Please edit the page and add your own generic feature requirements!)

  • Multiple sports (Even within the same site)
  • League/Conference/Division seperations (and inter-division/conference games if desired)
  • Facilities tracking/assignment
  • Maintaining 'Team' objects across seasons
  • Flexible 'Roster' tracking, and per-game lineups
  • both the 'players as users' model used in ULT, as well as the 'players as objects' model used in LeagueSite
  • Tracking of team 'admin' in addition to players (and flexibility to support 'player-coaches')
  • Per-sport 'positions'
  • Both single game and game/set/match structures
  • Tracking of both 'exhibition' and 'league' games/results
  • Scoring summaries by sport
  • Player Statistics by sport
  • Amateur/Professional/Fantasy league setups
  • Per-league administration and permissions

OneLeague Approach

The following is a suggested breakdown of the development cycle for the One League API initiative. The Phases listed below are not necessarily sequential (though there may be some dependencies) ... please feel free to jump in and contribute to any phase/discussion at any time!


Mutliple Sport Site

BenGman's picture

Can this module be developed in such as way to enable one site to host multiple leagues for different sports and not just a singular sport?


jthorson's picture

At this stage, I don't see why not ... Requirement Added.

Drupal 7 and Rugby

lindyjan's picture

I would like to find out if any of the developers on this project would like to make a working module for drupal 7.

I would like to use the gotham girls roller derby league site as a model:

and here is the team I want to make the site for:

I am very interested in finding someone to help with this, so please contact me.


Module adjustments for single team management

spencerfromsc's picture


I'm not sure what your time frame is, but I'm trying to working out how to adjust the module to accommodate a single team (actually, a rugby team) right now. I'm working with the D6 version at the moment and with CiviCRM on the backend for membership management functions. My goal, however, is to migrate to D7 once all of the modules are ready, including a CRM system more tightly integrated with core. Just send me a message directly if you want to discuss it more.



jthorson's picture

While there isn't any code yet, I do have a strong start on the architecture and plans for a league module.

My intent is to start coding the base entities within the next couple of weeks ... I've actually sat down with the intent to start coding at least twice now, but support issues keep getting in the way.