Rust
RustLife.net | SOLO ONLY | Fridays | US के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/442965json
{
"response": {
"fps": 38,
"fps_avg": 37,
"entities_count": 85185,
"world_seed": 31111,
"world_size": 3500,
"steam_id": 90284849294498830,
"domain": null,
"id": 442965,
"ip": "64.40.8.146",
"port": 28019,
"query": 28020,
"color": 0,
"city": "Dallas",
"description": "\nWelcome to RustLife\r\n\r\nMaps wipe Weekly on Fridays at 5PM CST US Dallas time\r\nBlueprints wipe on Friday after Force\r\nMap size: 3500 \r\n\r\nRowboats spawn on the beach \r\n →No cheating \r\n →No ban evading/EAC ban evading \r\n →No racism",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776165116,
"score": null,
"last_online": 1776996617,
"icon": null,
"name": "RustLife.net | SOLO ONLY | Fridays | US",
"connect": "64.40.8.146:28019",
"request": "64.40.8.146:28020",
"map": "RustLife Generated Maps",
"gamemode": "Survival",
"version": "2623",
"numplayers": 4,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1630779647,
"last_update": 1776996617,
"banned": false,
"wipe": 1776462778,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1542,
"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/442965");
$data = json_decode($json, true);
var_dump($data);