Counter-Strike: Global Offensive
API pentru [MSK] DIVERSIVE MM HVH | 16k | 1 AWP | RollFix
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/8274844json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8274844,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 4465480,
"owner": 112483,
"boosts": 1,
"last_offline": 1761371574,
"score": 0,
"last_online": 1760456418,
"icon": null,
"name": "[MSK] DIVERSIVE MM HVH | 16k | 1 AWP | RollFix",
"connect": null,
"request": null,
"map": "de_mirage",
"gamemode": "Counter-Strike: Global Offensive",
"version": null,
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1742850406,
"last_update": 1761371574,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1647,
"language": "ru",
"parked": true,
"app": {
"id": 1629104,
"steam_id": 4465480,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive"
},
"server_owner": {
"username": "not_shero",
"avatar": "8e7a6248-4101-44a9-93f4-9203f683aa7f.jpg",
"last_online": 1742850603
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/8274844");
$data = json_decode($json, true);
var_dump($data);