API для Vanilla Farts SOLO/DUO FULL wiped 06.21 15:00 CEST
JSON для программ, сайтов и прочего
text
json
{
"response": {
"oxide": true,
"modded": true,
"fps": 187,
"fps_avg": 180,
"entities_count": 336089,
"world_seed": 1089137652,
"world_size": 3200,
"steam_id": "90286558173329433",
"domain": null,
"id": 1413021,
"ip": "94.130.207.227",
"port": 28231,
"query": 28234,
"color": 0,
"city": "Falkenstein",
"description": "\nWelcome to Farts! \r\n Vanilla Solo/Duo ONLY \r\n Wipes every Friday @ 15:00 CET \r\n Map Size 3200 \r\n English only in chat \r\n No alliances allowed. \r\n No Racism, Homophobia allowed. \r\n Active non playing admins \r\n Important Info Discord: https://discord.gg/8KkMAvJ",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780494236,
"last_online": 1780585232,
"icon": null,
"name": "Vanilla Farts SOLO/DUO FULL wiped 06.21 15:00 CEST",
"connect": "94.130.207.227:28231",
"request": "94.130.207.227:28234",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2508",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1697286393,
"last_update": 1780585232,
"banned": false,
"wipe": 1696953918,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2705,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/1413021");
$data = json_decode($json, true);
var_dump($data);