Rust
[GER] PVE | Rust in Peace | Event / Testserver के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/9846335json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 104250,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90284281166899205",
"domain": null,
"id": 9846335,
"ip": "147.93.162.127",
"port": 28115,
"query": 28116,
"color": 0,
"city": "Lauterbourg",
"description": "![[GER] PVE | Rust in Peace | Event / Testserver](https://www.kobani.de/headerlogos/Testserver001.png)\nRust in Peace\r\n\r\nEvent und Testserver\r\n\r\nDu willst mehr? Dann schau doch mal bei\r\n[GER] PVE | Rust in Peace | Anfängerfreundlich\r\nrein..",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776009738,
"score": 0,
"last_online": 1776011440,
"icon": null,
"name": "[GER] PVE | Rust in Peace | Event / Testserver",
"connect": "147.93.162.127:28115",
"request": "147.93.162.127:28116",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1753202996,
"last_update": 1776011440,
"banned": false,
"wipe": 1775152136,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4135,
"language": "fr",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/9846335");
$data = json_decode($json, true);
var_dump($data);