Horizon PVP! Glad to have you here! के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286139184962585",
"domain": null,
"id": 11511286,
"ip": "194.69.160.15",
"port": 28115,
"query": 28117,
"color": 0,
"city": "City of London",
"description": "\nHey there! This is the Horizon PVP rust server. \r\n 🌐 Horizon Server Rules\r\n 1. Respect All Players - No racism, hate speech, harassment, or toxic behaviour.\r\n 2. No Cheating or Exploits - Hacks, scripts, or abusing bugs will result in a ban.\r\n 3. No Griefing - Do not intentionally ruin other players’ experience.\r\n 4. Keep Chat Clean - No spam, advertising, or excessive toxicity.\r\n 5. Admin Decisions Are Final - Arguing or abusing admins may lead to punishment.\r\n 6. Fair Play Only - No unfair advantages or abuse of mechanics.\r\n \r\n 📌 Server Information\r\n - No Decay - Bases do NOT decay, build freely without upkeep.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780560817,
"last_online": 1779870623,
"icon": null,
"name": "Horizon PVP! Glad to have you here!",
"connect": "194.69.160.15:28115",
"request": "194.69.160.15:28117",
"map": "Procedural Map",
"gamemode": "Rust",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779353841,
"last_update": 1780560817,
"banned": false,
"wipe": 1778249491,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11817,
"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/11511286");
$data = json_decode($json, true);
var_dump($data);