Function RankingBestGamersWithinLANPerGame

Purpose:

It returns the top 20 + YOU, best gamers, but, considering the gamers on a specific LAN.

This rank is based on the score of a specific game gathered by each gamer from that LAN.

It also returns a gamer position, if called providing a UserName and a LAN Name as input, it will return that user position include if it is outside the TOP 20. he has to have a score to appear.

Input parameters:

  • CyberName = (Optional) a LAN NAME to look up.
  • UserName = (Optional) a USER NAME to look up.
  • Game = GameName.
  • LAN = specific LAN name.

Example of usage:

https://wingamer.ar/ApiMasterControl/RankingBestGamersWithinLANPerGame.php?LAN=flulpycrea&Game=LeagueOfLegends&CyberName=flulpycrea&UserName=testing

Output:

  • Array {“ResponseClass”:”HEADER”, “GameName”: “string”, “GameAvatar”: “string”, “LongGameName”: “string”}.
  • Array {“ResponseClass”:”RANK”, “Position”: “string”, “UserName”:”string”,“LanName”: “string”, “Score”: “string”, “UserAvatar”: “string”,“LongUserName”: “string”, “LanAvatar”: “string”, “LongLanName”: “string”}.
  • Array {“ResponseClass”:”ME”, “Position”: “string”, “UserName”:”string”,“LanName”: “string”, “Score”: “string”, “UserAvatar”: “string”,“LongUserName”: “string”, “LanAvatar”: “string”, “LongLanName”: “string”}.
  • Array {“ResponseClass”:”OK”} // End Of List.
  • Array {“ResponseClass”:”ERROR”, ”Param1″:”error message”}