V Rising
API для Thorky
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11449182json
{
"response": {
"steam_id": "90284230770759711",
"domain": null,
"id": 11449182,
"ip": "51.222.10.199",
"port": 5990,
"query": 5991,
"color": 0,
"city": "Montreal",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1777668146,
"score": 0,
"last_online": 1777462857,
"icon": null,
"name": "Thorky",
"connect": "51.222.10.199:5990",
"request": "51.222.10.199:5991",
"map": "VRisingWorld",
"gamemode": "a219c74b-4b9b-4b6c-912a-a6d979632870",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 25,
"bots": 0,
"secured": true,
"private": true,
"country": "CA",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774977963,
"last_update": 1777668146,
"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": 2933,
"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/11449182");
$data = json_decode($json, true);
var_dump($data);