Rust
API pentru [EU] Northern-Gaming | DUO | MONTHLY | Fresh Wipe
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10870526json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 103176,
"world_seed": 51057947,
"world_size": 4250,
"steam_id": "90284796946422797",
"domain": null,
"id": 10870526,
"ip": "85.228.18.151",
"port": 28014,
"query": 28024,
"color": 0,
"city": "Västervik",
"description": "![[EU] Northern-Gaming | DUO | MONTHLY | Fresh Wipe](https://i.ibb.co/VBtTmh7/logo.png)\nWelcome to Northern-Gaming DUO Vanilla server!\r\n\r\n-No cheating or exploiting.\r\n-No racist words/signs used.\r\n-You will not be able to play if you have VAC in the last 365 days.\r\n-Active Admin's\r\n\r\nJoin discord https://discord.gg/yMyYn8Tf2C for more information.\r\nMonthly bp wipe @ Force.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775463728,
"score": 0,
"last_online": 1776879022,
"icon": null,
"name": "[EU] Northern-Gaming | DUO | MONTHLY | Fresh Wipe",
"connect": "85.228.18.151:28014",
"request": "85.228.18.151:28024",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 2,
"maxplayers": 175,
"bots": 0,
"secured": true,
"private": false,
"country": "SE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768318426,
"last_update": 1776879022,
"banned": false,
"wipe": 1775151961,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2839,
"language": "sv",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10870526");
$data = json_decode($json, true);
var_dump($data);