Function RankingBestGamersWithinLAN

Purpose:

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

This rank is based on the score from all rankeable games merged together 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 must have a score for being in the table.

Input parameters:

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

Example of usage:

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

Output:

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