API для Startrackers by SurvivalServers.com
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": 90286740859108370,
"domain": null,
"id": 11575696,
"ip": "72.9.145.13",
"port": 48400,
"query": 48401,
"project_id": null,
"color": 0,
"city": "Dallas",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1780008818,
"last_online": 1780932716,
"icon": null,
"name": "Startrackers by SurvivalServers.com",
"connect": "72.9.145.13:48400",
"request": "72.9.145.13:48401",
"map": "Level01_Main",
"gamemode": "00",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779356797,
"last_update": 1780932716,
"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": 3182,
"language": "en",
"parked": false,
"app": {
"id": 1625562,
"steam_id": 2646460,
"name": "Soulmask",
"url": "soulmask"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11575696");
$data = json_decode($json, true);
var_dump($data);