API для GameTime - MM HvH [2018 CSGO]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1793535082,
"app": {
"id": 2,
"name": "Counter-Strike 2",
"steam_id": 730,
"url": "counter-strike-2"
},
"color": 0,
"connect": null,
"country": "US",
"domain": null,
"game": 730,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19489616,
"ip": null,
"language": "en",
"last_update": 1793535069,
"map": "cs_office_night",
"maxplayers": 40,
"name": "GameTime - MM HvH [2018 CSGO]",
"numplayers": 5,
"official": null,
"points": 0,
"port": null,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": null,
"request": null,
"secured": false,
"status": false,
"steam_id": "85568392934524369",
"version": "1.99.9.9",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Oakton",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": null,
"last_online": 1793535069,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": true,
"position_game": 27865,
"wipe_period": null,
"os": "l",
"region": 0,
"product": "csgo",
"gametype": "2018,cheat,gametime,gametimehvh,hack,hvh,legacy,spread,insecure",
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19489616");
$data = json_decode($json, true);
var_dump($data);