API для The Savvy Suckers
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286250527775768",
"domain": null,
"id": 11624037,
"ip": "99.233.117.192",
"port": 16261,
"query": 16262,
"project_id": null,
"color": 0,
"city": "Barrie",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1779916130,
"last_online": 1780733503,
"icon": null,
"name": "The Savvy Suckers",
"connect": "99.233.117.192:16261",
"request": "99.233.117.192:16262",
"map": "VRisingWorld",
"gamemode": "526f32a5-e4b7-4181-b353-476136bb2292",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "CA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779916130,
"last_update": 1780733503,
"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": 2853,
"language": "en",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11624037");
$data = json_decode($json, true);
var_dump($data);