API pentru [EU] Rust Company - Tags & Territory | Vanilla Rust x Battlefie
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 103,
"fps_avg": 101,
"entities_count": 69438,
"world_seed": 1337,
"world_size": 4000,
"steam_id": "90286201352192031",
"domain": null,
"id": 11158409,
"ip": "49.12.149.39",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Falkenstein",
"description": "![[EU] Rust Company - Tags & Territory | Vanilla Rust x Battlefie](https://assets.playrustcompany.com/Images/Header2.png)\nCompletely NEW gamemode, Vanilla Rust x Battlefield, with capture points and Large Teams.\r\n- Large scale Company VS Company Campaign.\r\n- Blue Private army VS Red Private Army\r\n- Weekly Campaigns. that Starts Monday and Ends on Sunday Night!\r\n- From Monday to Thursday it is [Buildup Phase], where some restrictions is on for balance.\r\n- From Thursday to Sunday Night there is [War phase], where buildup phase restrictions is off.\r\n- Gamemode also has scoreboard that counts all stats, and at the end of the week/campaign, company with most VP will be determined as Winner.\r\n \r\nVisit Web-site for more information: Playrustcompany.com\r\nOr Join growing community on Discord: https://discord.gg/afzJCZRGqT",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779715963,
"last_online": 1779776424,
"icon": null,
"name": "[EU] Rust Company - Tags & Territory | Vanilla Rust x Battlefie",
"connect": "49.12.149.39:28015",
"request": "49.12.149.39:28016",
"map": "Launch island",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772228109,
"last_update": 1779776424,
"banned": false,
"wipe": 1779716053,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4188,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11158409");
$data = json_decode($json, true);
var_dump($data);