Counter-Strike 2
API pentru [RU/EU] |Santa HvH| FIX DT & Spread {Mirage Only}
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/8081041json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8081041,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "[{\"id\":\"lVaXgj1mhD\",\"type\":\"paragraph\",\"data\":{\"text\":\"Santa HvH Топовый сервер NUMBER 1Московский хостинг,отличный пинг.Для западной России и ближнего зарубежья. \"}}]",
"game": 730,
"owner": 94004,
"boosts": 1,
"last_offline": 1750457066,
"score": 5,
"last_online": 1747044029,
"icon": null,
"name": "[RU/EU] |Santa HvH| FIX DT & Spread {Mirage Only}",
"connect": null,
"request": null,
"map": "de_mirage",
"gamemode": "Counter-Strike 2",
"version": null,
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1741538684,
"last_update": 1750457066,
"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": 13498,
"language": "ru",
"parked": true,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "Santa_hvh",
"avatar": "7f3c4293-6151-4845-9071-06eb23db322f.jpg",
"last_online": 1773924580
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/8081041");
$data = json_decode($json, true);
var_dump($data);