Rust
Dog's Quarters | Solo - Quad | Vanilla - No Junk | için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11260785json
{
"response": {
"fps": 221,
"fps_avg": 217,
"entities_count": 46039,
"world_seed": 245731,
"world_size": 3000,
"steam_id": "90284657836038163",
"domain": null,
"id": 11260785,
"ip": "83.109.2.235",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Spydeberg",
"description": "\nDOGS QUARTERS 🐺 | Vanilla+ | Clean Loot | Friendly but competitive | Active admins | Smooth performance | Perfect balance between grind and fun.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776446005,
"score": 0,
"last_online": 1776981020,
"icon": null,
"name": "Dog's Quarters | Solo - Quad | Vanilla - No Junk |",
"connect": "83.109.2.235:28015",
"request": "83.109.2.235:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "NO",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555205,
"last_update": 1776981020,
"banned": false,
"wipe": 1776446190,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4958,
"language": "no",
"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/11260785");
$data = json_decode($json, true);
var_dump($data);