API Requests

Suggestions that have been archived.

Moderator: Community Team

Post Reply
User avatar
chipv
Head Tech
Head Tech
Posts: 3053
Joined: Mon Apr 28, 2008 5:30 pm

API Requests

Post by chipv »

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
InkL0sed
Posts: 2370
Joined: Sat Jun 23, 2007 4:06 pm
Gender: Male
Location: underwater
Contact:

Re: API Requests

Post by InkL0sed »

Sounds good to me.
User avatar
a.sub
Posts: 1834
Joined: Thu Jun 14, 2007 2:07 am
Gender: Male

Re: API Requests

Post by a.sub »

as a non technophile can u explain this "API" thing to me?
User avatar
TaCktiX
Posts: 2392
Joined: Mon Dec 17, 2007 8:24 pm
Gender: Male
Location: Rapid City, SD

Re: API Requests

Post by TaCktiX »

Application Program Interface. Shnazz way of saying an interface between the game engine and us.
User avatar
a.sub
Posts: 1834
Joined: Thu Jun 14, 2007 2:07 am
Gender: Male

Re: API Requests

Post by a.sub »

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
InkL0sed
Posts: 2370
Joined: Sat Jun 23, 2007 4:06 pm
Gender: Male
Location: underwater
Contact:

Re: API Requests

Post by InkL0sed »

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
Androidz
Posts: 1046
Joined: Mon Dec 03, 2007 11:03 am

Re: API Requests

Post by Androidz »

Great suggestion.
Image
User avatar
a.sub
Posts: 1834
Joined: Thu Jun 14, 2007 2:07 am
Gender: Male

Re: API Requests

Post by a.sub »

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!
Post Reply

Return to “Archived Suggestions”