Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
http://csgo-stats.com/
But I am curious if there is one (should be one probably) to get live scores of a match.
I'm looking for a JSON API
https://steamcommunity.com/id/codingneko/stats/csgo/?xml=1
found them in here https://partner.steamgames.com/documentation/community_data
Edit: might not be the exact data you need actually xd
nop, that I had already seen, I'm looking for lobby and live game information mainly, everything else is a plus, but thanks for taking the time to find the links
http://api.steampowered.com/ISteamUserStats/GetUserStatsForGame/v0002/?appid=730 (csgo archivements and stats) or this one https://api.steampowered.com/ISteamUser/GetPlayerSummaries/v2/ (user information and currently playing game, but no live match data)
First of all, thank you for reviving my old thread. Back at the time I was also eager to do something cool with the CS:GO API. At least I thought it is possible and there is some usable API to retrieve information about ongoing matches from, and analyze games after they have ended.
Unfortunately, CS:GO does not provide a cool API (like Dota2 does), where you can retrieve data about any game, BUT there are alternatives!
Alternative 1 - WebAPI
While this does not represent a good alternative, as it is limited, it may be interesting for some of you. The Steam WebAPI offers different endpoints. Unfortunately, it does not offer endpoints where you can retrieve data for specific CS:GO matches. You can, however, query some data about the overall game stats regarding CS:GO for your user. For example, the
Example URL: http://api.steampowered.com/ISteamUserStats/GetUserStatsForGame/v2/?appid=730&key=<APIKEY>&steamid=<STEAMID>
Note: In this case, 730 is the appid for CS:GO!
Visit the Steam WebAPI reference doc for more information.
Alternative 2 - Demos
Ever wondered how https://csgo-stats.com/ or https://csgostats.gg/ are able to analyze your games by pulling data from an API? Well, the answer is they do not use an API for that. Instead, they simply use your Demo file. Whenever someone shares their link to the demo (i.e. match) they want to analyze, these sites actually analyze your demo! If you need more information on this one, you can research it on your own or pm me!
Alternative 3 - (Personal) Live Data
Steam also offers something called Game State Integration. In short, this allows to track almost any LIVE data during a match. For example, you can track which weapon you are currently holding, how much bullets are in your magazine and so on. However, this is intended for integrating other applications with CS:GO and therefore you have to locally add a configuration that enables your CS:GO game to send such live data to a server by using events and push notifications. You can read more about this here: CS:GO Game State Integration
I hope I could clarify the actual status of CS:GO and its (somewhat) limited API. Feel free to ask if you have further questions!
That is INCREDIBLY useful, thank you SO much, I'll have a look into the demos option, Live Data doesn't seem like a good fit for what I was planning to do.
There are multiple projects already available for parsing the demo files. Some examples might be https://github.com/ValveSoftware/csgo-demoinfo or https://github.com/StatsHelix/demoinfo
>C# and C++
I'm a JavaScript peasant, thank you though, low level demigod