Rust
[DKKLS.DK] SOLO SERVER 75 [EU] için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/6572040json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 68420,
"world_seed": 329290,
"world_size": 3500,
"steam_id": "90284582678700063",
"domain": null,
"id": 6572040,
"ip": "159.69.226.152",
"port": 28025,
"query": 28026,
"color": 0,
"city": "Nuremberg",
"description": "SERVER IS CURRENTLY BEING TESTED\r\n\r\n- SOLO ONLY\r\n- PLAY THE GAME\r\n- BE NICE\r\n- SERVER IS MODDED\r\n- WEBSITE IS BEING DEVELOPED\r\n\r\n youre welcome to play here but please\r\n\r\njust be prepared for resets in the next few days since\r\nwe are testing the server",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776087712,
"score": 0,
"last_online": 1776511825,
"icon": null,
"name": "[DKKLS.DK] SOLO SERVER 75 [EU]",
"connect": "159.69.226.152:28025",
"request": "159.69.226.152:28026",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1731158569,
"last_update": 1776511825,
"banned": false,
"wipe": 1776087946,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3428,
"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/6572040");
$data = json_decode($json, true);
var_dump($data);