API для The Forgotten Valley
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 13779400,
"ip": "84.87.81.197",
"port": 7778,
"query": 7778,
"project_id": null,
"color": 0,
"city": "Kommerzijl",
"description": null,
"game": 376210,
"owner": null,
"boosts": 1,
"last_offline": 1787665384,
"last_online": 1786998137,
"icon": null,
"name": "The Forgotten Valley",
"connect": "84.87.81.197:7778",
"request": "84.87.81.197:7778",
"map": "Gateway",
"gamemode": null,
"version": "evrima 0.21.784",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": false,
"country": "NL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1786973284,
"last_update": 1787665384,
"ban_reason": null,
"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": 1171,
"language": "nl",
"parked": false,
"app": {
"id": 136,
"steam_id": 376210,
"name": "The Isle",
"url": "the-isle"
},
"server_owner": null,
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13779400");
$data = json_decode($json, true);
var_dump($data);