OL'Farts Gaming - Rust PVP Vanilla के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 43,
"fps_avg": 43,
"entities_count": 131777,
"world_seed": 1337,
"world_size": 4800,
"steam_id": "90286603903379456",
"domain": null,
"id": 2330567,
"ip": "216.105.171.133",
"port": 28221,
"query": 28224,
"color": 0,
"city": "Chicago",
"description": "\nWelcome to OL'Farts Gamings Rust Absolutely No Racist Comments in chat or mic. Do not cry hacks in chat. Report them by pressing F7 and reporting it to facepunch. and report it to us through PM in Discord.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595663,
"last_online": 1780618825,
"icon": null,
"name": "OL'Farts Gaming - Rust PVP Vanilla",
"connect": "216.105.171.133:28221",
"request": "216.105.171.133:28224",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 6,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1703792350,
"last_update": 1780618825,
"banned": false,
"wipe": 1780595689,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1199,
"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/2330567");
$data = json_decode($json, true);
var_dump($data);