Rust
|SEA| Malaysia X Indonesia |SOLO|DUO|TRIO| için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10605762json
{
"response": {
"fps": 28,
"fps_avg": 30,
"entities_count": 104448,
"world_seed": 15248518,
"world_size": 4250,
"steam_id": "90284552671630360",
"domain": null,
"id": 10605762,
"ip": "139.99.37.83",
"port": 19800,
"query": 19803,
"color": 0,
"city": "Singapore",
"description": "\n|Welcome to Malaysia X Indonesia| \r\n Pure Vanilla \r\n Weekly Map Wipe \r\n Blueprints Wipe Monthly \r\n Active Admins (silent and always watching) \r\n No Cheaters \r\n Toxic Free Community (teamwork or betrayal, your choice!) \r\n SURVIVE,HUNT,BUILD,DOMINATE \r\n No allies,No peace,Only RUST",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776414222,
"score": 0,
"last_online": 1776849018,
"icon": null,
"name": "|SEA| Malaysia X Indonesia |SOLO|DUO|TRIO|",
"connect": "139.99.37.83:19800",
"request": "139.99.37.83:19803",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 2,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "SG",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1763321692,
"last_update": 1776849018,
"banned": false,
"wipe": 1776414327,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1895,
"language": "en",
"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/10605762");
$data = json_decode($json, true);
var_dump($data);