Rust
Terc's Hardcore PvE Paradise | PvE fun for everyone के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11159752json
{
"response": {
"fps": 23,
"fps_avg": 23,
"entities_count": 140133,
"world_seed": 0,
"world_size": 4500,
"steam_id": 90285694791351310,
"domain": null,
"id": 11159752,
"ip": "66.51.96.55",
"port": 28030,
"query": 28031,
"color": 0,
"city": "Ashburn",
"description": "\nWelcome to Terc's Hardcore PvE Paradise, where kindness and adventure coexist!\r\n\\t-Hardcore PvE mode\r\n\\t-Helpful player community\r\n\\t-No building or vehicle decay. No building stability constraints\r\n\\t-No blueprint wipes (unless requested)\r\n\\t-Numerous ease of life mods\r\n\\t-Numerous server events\r\n\\t-Numerous monument NPC mobs\r\n\\t-Find us on Discord at https://discord.gg/UBwkkqtBpU\r\nPlease see the rules in /info",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778177585,
"score": 0,
"last_online": 1778685018,
"icon": null,
"name": "Terc's Hardcore PvE Paradise | PvE fun for everyone",
"connect": "66.51.96.55:28030",
"request": "66.51.96.55:28031",
"map": "Procedural Map",
"gamemode": "Hardcore",
"version": "2625",
"numplayers": 4,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1772228139,
"last_update": 1778685018,
"banned": false,
"wipe": 1778177683,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1936,
"language": "en",
"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/11159752");
$data = json_decode($json, true);
var_dump($data);