[GRC] Dev के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 240,
"fps_avg": 240,
"entities_count": 49655,
"world_seed": 1337,
"world_size": 3000,
"steam_id": "90286581875642391",
"domain": null,
"id": 11501477,
"ip": "145.239.232.105",
"port": 28015,
"query": 27016,
"color": 0,
"city": "Saarbrücken",
"description": "![[GRC] Dev](https://i.postimg.cc/gjCPDsk6/rgrc-ingame-image-1024.png)\nGerman Rust Community Biweekly \r\n Wipe Schedule: \r\n Map 3250: Weekly Mapwipe every Thursday @20:00 UTC+2 \r\n Blueprints: Monthly Forcewipe \r\n Join our Discord server for announcements and to get more involved with the community! \r\n Please follow the rules below: \r\n German or english in chat \r\n No Raciscm, Homophobia, Harassment or Excessive Toxicity \r\n No Advertising Any Form of cheats/hacking is not allowed \r\n Staff have final say, being toxic to staff will get you automatically removed",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779207172,
"last_online": 1780581633,
"icon": null,
"name": "[GRC] Dev",
"connect": "145.239.232.105:28015",
"request": "145.239.232.105:27016",
"map": "Custom Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 0,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207172,
"last_update": 1780581633,
"banned": false,
"wipe": 1778214702,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4790,
"language": "de",
"parked": false,
"app": {
"id": 252490,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11501477");
$data = json_decode($json, true);
var_dump($data);