Rust
Facepunch Release CraggyIsland के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11130983json
{
"response": {
"fps": 237,
"fps_avg": 230,
"entities_count": 3770,
"world_seed": 341324388,
"world_size": 1024,
"steam_id": "90284807831641115",
"domain": null,
"id": 11130983,
"ip": "57.128.211.49",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Warsaw",
"description": "\nThis is an official development test server owned and operated by Facepunch. Testing may interrupt gameplay and progress could be lost at any time.\r\n\r\nPeople are free to speak whatever language they like. Don't be surprised if you get banned for being abusive.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1772982736,
"score": 0,
"last_online": 1776868825,
"icon": null,
"name": "Facepunch Release CraggyIsland",
"connect": "57.128.211.49:28015",
"request": "57.128.211.49:28016",
"map": "CraggyIsland",
"gamemode": "Survival",
"version": "2603",
"numplayers": 0,
"maxplayers": 0,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1770397328,
"last_update": 1776868825,
"banned": false,
"wipe": 1759317669,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4612,
"language": "pl",
"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/11130983");
$data = json_decode($json, true);
var_dump($data);