Rust
Rustafied.com - EU Long - Small II के लिए API
हम एकीकरण विधियों की एक विस्तृत श्रृंखला प्रदान करते हैं। आप उनमें से किसी का भी उपयोग कर सकते हैं या JSON API का उपयोग करके अपना खुद का बना सकते हैं। यदि आपके पास नई एकीकरण विधि जोड़ने का सुझाव है, तो कृपया हमसे संपर्क करें। हमसे संपर्क करें
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/1890897json
{
"response": {
"fps": 29,
"fps_avg": 28,
"entities_count": 280029,
"world_seed": 1580031379,
"world_size": 4000,
"steam_id": "90284163749757954",
"domain": null,
"id": 1890897,
"ip": "64.40.9.70",
"port": 28015,
"query": 28018,
"color": 0,
"city": "London",
"description": "\nMonthly BP + Map Wipe @ Force Wipe First Thursday @ 2PM EST / 19:00 London \r\n\r\n - Player portal: https://my.rustafied.com (server info, map voting, banlist, and more) \r\n - Store: https://rustafied.com/store \r\n - Support: https://rustafied.com/support \r\n - Discord: https://discord.gg/rustafied",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775690523,
"score": null,
"last_online": 1775874610,
"icon": null,
"name": "Rustafied.com - EU Long - Small II",
"connect": "64.40.9.70:28015",
"request": "64.40.9.70:28018",
"map": "Rustafied Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 70,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 94,
"add_date": 1700501769,
"last_update": 1775874610,
"banned": false,
"wipe": 1775151274,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 213,
"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/1890897");
$data = json_decode($json, true);
var_dump($data);