Rust
[EU] Facepunch Primitive 1 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/7467358json
{
"response": {
"fps": 198,
"fps_avg": 196,
"entities_count": 176067,
"world_seed": 1695891052,
"world_size": 4250,
"steam_id": "90284400928318468",
"domain": null,
"id": 7467358,
"ip": "79.137.98.158",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Gravelines",
"description": "![[EU] Facepunch Primitive 1](https://files.facepunch.com/Alistair/124/07/2025/9593/fpos.png)\nThis is an official server owned and operated by Facepunch.\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": 1775993515,
"score": 0,
"last_online": 1776295812,
"icon": null,
"name": "[EU] Facepunch Primitive 1",
"connect": "79.137.98.158:28015",
"request": "79.137.98.158:28016",
"map": "Procedural Map",
"gamemode": "Primitive",
"version": "2623",
"numplayers": 29,
"maxplayers": 400,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 65,
"add_date": 1739234754,
"last_update": 1776295812,
"banned": false,
"wipe": 1775151302,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 856,
"language": "fr",
"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/7467358");
$data = json_decode($json, true);
var_dump($data);