Rust
API pentru EU | LPRCOMMUNITY.NET | PvE Server | 3x | Monthly
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11305312json
{
"response": {
"fps": 207,
"fps_avg": 205,
"entities_count": 134500,
"world_seed": 121602297,
"world_size": 4500,
"steam_id": "90284839810852895",
"domain": null,
"id": 11305312,
"ip": "37.187.135.130",
"port": 28020,
"query": 28022,
"color": 0,
"city": "Roubaix",
"description": "\nWelcome to EU | LPRCOMMUNITY.NET | PvE Server | 2x | Monthly\r\n\r\nA peaceful environment to build, explore and progress without PvP pressure.\r\n\r\nRules:\r\n-> No hacking / cheating\r\n-> No racism or harassment\r\n-> No griefing or raiding other players\r\n-> No stealing from other players\r\n-> Safe zones: Outpost & Bandit Camp\r\n\r\nServer protected by Server Armour :\r\n-> Max ping : 250ms\r\n-> Max allowed Game bans : 1\r\n-> Max allowed VAC bans : 1\r\n-> Min age of VAC ban allowed : 30days\r\n\r\nThe server restarts every day at 07:00 AM\r\n\r\nJoin our Discord for wipe dates, updates and support.\r\nhttps://www.lprcommunity.net/discord",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776579201,
"score": 0,
"last_online": 1776988823,
"icon": null,
"name": "EU | LPRCOMMUNITY.NET | PvE Server | 3x | Monthly",
"connect": "37.187.135.130:28020",
"request": "37.187.135.130:28022",
"map": "LPR Generated Maps",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774592882,
"last_update": 1776988823,
"banned": false,
"wipe": 1775160199,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5098,
"language": "fr",
"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/11305312");
$data = json_decode($json, true);
var_dump($data);