Icarus
API для General Sam
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10958822json
{
"response": {
"steam_id": "90285649657904128",
"domain": null,
"id": 10958822,
"ip": "144.126.130.208",
"port": 36900,
"query": 36915,
"color": 0,
"city": "St Louis",
"description": null,
"game": 1149460,
"owner": null,
"boosts": 1,
"last_offline": 1778205183,
"score": 0,
"last_online": 1778610627,
"icon": null,
"name": "General Sam",
"connect": "144.126.130.208:36900",
"request": "144.126.130.208:36915",
"map": null,
"gamemode": "Icarus",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768749820,
"last_update": 1778610627,
"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": 182,
"language": "en",
"parked": false,
"app": {
"id": 1600891,
"steam_id": 1149460,
"name": "Icarus",
"url": "icarus"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10958822");
$data = json_decode($json, true);
var_dump($data);