Rust85 s.1 - x1 RPG|TP|FF|Event|Kits|... için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"modded": true,
"oxide": true,
"fps": 130,
"fps_avg": 128,
"entities_count": 4377,
"world_seed": 31225,
"world_size": 2500,
"steam_id": "90286479746465814",
"domain": null,
"id": 814222,
"ip": "88.99.1.43",
"port": 8511,
"query": 8511,
"color": 0,
"city": "Falkenstein",
"description": "\nWelcome to the server Live World - Rust85\r\n\r\nx1 - TP - PM - Air - Home - EventRun - BigStacks - Kits - Friends - Clans - Help - AntiCheat - MapInGame - ResourcesLevels - ItemSkin - Remove - FriendlyFire - AutoDoors - UniqueSystemRaids\r\n\r\nDonat shop - LWor.ru\r\nGroup - vk.com/LiveW",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780470419,
"last_online": 1780596033,
"icon": null,
"name": "Rust85 s.1 - x1 RPG|TP|FF|Event|Kits|...",
"connect": "88.99.1.43:8511",
"request": "88.99.1.43:8511",
"map": "Procedural Map",
"gamemode": "rust_server",
"version": "1336",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1684360220,
"last_update": 1780596033,
"banned": false,
"wipe": null,
"official": true,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2113,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/814222");
$data = json_decode($json, true);
var_dump($data);