OhhLoz / HLTVBot

A stats based bot using HLTV to display statistics & news for the CS:GO competitive scene.
https://www.laurenceure.me
GNU General Public License v3.0
3 stars 1 forks source link

proper utilisation of the getPlayerStats() API command #33

Open OhhLoz opened 4 years ago

OhhLoz commented 4 years ago

However, this command needs a playerid, so unless linked with a database alongside the teamname for faster lookup. It is not possible without first going through getPlayerByName() then feeding that id into getPlayerStats() which is very inefficient. Database preferred.