API для Virtual Rust | Blue [ X2 | NOLIMIT | Friday ]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 6125177,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Helsinki",
"description": "[{\"id\":\"DRbLkTsoX2\",\"type\":\"paragraph\",\"data\":{\"text\":\"Вайп (очистка карты) каждую неделю. \\n Глобальные вайпы (очистка карты и чертежей) каждые две недели. \\n Вайп по пятницам в 10:00 по МСК\"}},{\"id\":\"ubo7uR_R-I\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/d02c0357-d042-4bbe-bd88-b6cc7be170fa.jpg\"}}}]",
"game": 252490,
"owner": 87589,
"boosts": 1,
"last_offline": 1768554535,
"last_online": 1767646812,
"icon": null,
"name": "Virtual Rust | Blue [ X2 | NOLIMIT | Friday ]",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": null,
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "FI",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1727883294,
"last_update": 1768554535,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 13189,
"language": "fi",
"parked": true,
"app": {
"id": 252490,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "SMA1L",
"avatar": "a8e3781d-c651-4a54-999d-f74e59622a5e.jpg"
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/6125177");
$data = json_decode($json, true);
var_dump($data);