Conquer Club

API Requests

Suggestions that have been archived.

Moderator: Community Team

API Requests

Postby chipv on Sat Feb 07, 2009 7:31 am

Add/Create APIs to prvoide the following:
  • 1. Add <first> tag to the player history xml. This indicates who went first in a game
  • 2. Create a new tournament API. Should include tags for the winner, all game numbers , and all players involved
    - format can be same as player history.
  • 3. Create a new scoreboard API. Should include ordered list including points information, country info, profile links.
  • More importantly allow both new APIs to be queried. Tournament should allow labels. Scoreboard should allow game settings if poss.

Specifics:
  • 1. Add <first> tag to the player history xml.
    Code: Select all
    <first>chipv</first>

    Information can be retrieved from game logs.
  • 2. Create a new tournament API
    Code: Select all
    <name>A-Maps</name>
    <round>1</round>
    <game>

    ... this should be same format as game history xml.

    </game>

    It would be nice to search by label also.
    This should be very little effort as it is a small deviation from the game history.

  • 3. Create a new scoreboard API.
    Code: Select all
    <player>
    <number>1</number>
    <name>King_Herpes</name>
    <score>6083</score>
    <games>2951</score>
    <won>2223</won>
    <rating>4.7</rating>
    <country>US</country>
    </player>

    Obviously this is an ordered list.
    Queries should include by country, by rank, by games won, and optionally by game settings.

This will improve the following aspects of the site:
  • 1. 1v1 players can analyse maps for suitablity based on who played first
  • 2.Script writers will not need Multiple AJAX requests on the game finder to retrieve this info = good for site
    Easy to present tournament data in a chart or even graphically.
  • Script writers will not need Multiple AJAX requests on the game finder to retrieve this info = good for site
    Easy to present scoreboard variations using the queries.
User avatar
Major chipv
Head Tech
Head Tech
 
Posts: 2897
Joined: Mon Apr 28, 2008 5:30 pm

Re: API Requests

Postby InkL0sed on Sat Feb 07, 2009 4:08 pm

Sounds good to me.
User avatar
Lieutenant InkL0sed
 
Posts: 2370
Joined: Sat Jun 23, 2007 4:06 pm
Location: underwater

Re: API Requests

Postby a.sub on Sun Feb 08, 2009 2:51 pm

as a non technophile can u explain this "API" thing to me?
User avatar
Cadet a.sub
 
Posts: 1834
Joined: Thu Jun 14, 2007 2:07 am

Re: API Requests

Postby TaCktiX on Sun Feb 08, 2009 4:06 pm

Application Program Interface. Shnazz way of saying an interface between the game engine and us.
User avatar
Corporal 1st Class TaCktiX
 
Posts: 2392
Joined: Mon Dec 17, 2007 8:24 pm
Location: Rapid City, SD

Re: API Requests

Postby a.sub on Sun Feb 08, 2009 4:50 pm

TaCktiX wrote:Application Program Interface. Shnazz way of saying an interface between the game engine and us.

so the idea in this thread is to make it more detailed (ie the game log) for users to extract better info on and about how things like play order affect map winners/results etc?
User avatar
Cadet a.sub
 
Posts: 1834
Joined: Thu Jun 14, 2007 2:07 am

Re: API Requests

Postby InkL0sed on Sun Feb 08, 2009 8:56 pm

a.sub wrote:
TaCktiX wrote:Application Program Interface. Shnazz way of saying an interface between the game engine and us.

so the idea in this thread is to make it more detailed (ie the game log) for users to extract better info on and about how things like play order affect map winners/results etc?


It would mean script writers have more/better information, essentially.
User avatar
Lieutenant InkL0sed
 
Posts: 2370
Joined: Sat Jun 23, 2007 4:06 pm
Location: underwater

Re: API Requests

Postby Androidz on Mon Feb 09, 2009 1:09 am

Great suggestion.
Image
User avatar
Private Androidz
 
Posts: 1046
Joined: Mon Dec 03, 2007 11:03 am

Re: API Requests

Postby a.sub on Mon Feb 09, 2009 2:17 am

InkL0sed wrote:
a.sub wrote:
TaCktiX wrote:Application Program Interface. Shnazz way of saying an interface between the game engine and us.

so the idea in this thread is to make it more detailed (ie the game log) for users to extract better info on and about how things like play order affect map winners/results etc?


It would mean script writers have more/better information, essentially.


in that case i like it!
User avatar
Cadet a.sub
 
Posts: 1834
Joined: Thu Jun 14, 2007 2:07 am


Return to Archived Suggestions

Who is online

Users browsing this forum: No registered users