Peanut Community Server | Solo/Duo/trio | Raid Protection için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 115,
"fps_avg": 126,
"entities_count": 117114,
"world_seed": 2065899133,
"world_size": 4500,
"steam_id": "90286136106181662",
"domain": null,
"id": 11511072,
"ip": "92.222.138.246",
"port": 29507,
"query": 29508,
"color": 0,
"city": "Paris",
"description": "Peanut Community Hosted Server\r\nA relaxed Solo/Duo/Trio Rust server built around fairness and good vibes. Raid Protection ensure bases stay safe overnight, while raid hours bring the excitement. Perfect for players who want progression without 24/7 offline griefing.\r\nDetails:\r\n- Offline Raid Protection \r\n- Max Group Size: 3\r\n- Better Anti Cheat\r\n- 50% Upkeep\r\nWipe Info:\r\n- Map Wipe - Monthly\r\n- BP Wipe - Monthly",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780553020,
"last_online": 1779937222,
"icon": null,
"name": "Peanut Community Server | Solo/Duo/trio | Raid Protection",
"connect": "92.222.138.246:29507",
"request": "92.222.138.246:29508",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 75,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779353837,
"last_update": 1780553020,
"banned": false,
"wipe": 1778185024,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11794,
"language": "fr",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11511072");
$data = json_decode($json, true);
var_dump($data);