API pentru [EU] Northern-Gaming | VANILLA | NoBp wipe
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 99574,
"world_seed": 1229544638,
"world_size": 4250,
"steam_id": "90286603571476493",
"domain": null,
"id": 11511112,
"ip": "85.228.18.151",
"port": 28017,
"query": 28027,
"color": 0,
"city": "Västervik",
"description": "![[EU] Northern-Gaming | VANILLA | NoBp wipe](https://i.ibb.co/VBtTmh7/logo.png)\nWelcome to Northern-Gaming community 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/EAC in the last 365 days.\r\n-Active Admin's\r\n\r\nJoin discord https://discord.gg/yMyYn8Tf2C for more information.\r\nMonthly map wipe BP will not wipe.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595060,
"last_online": 1780641031,
"icon": null,
"name": "[EU] Northern-Gaming | VANILLA | NoBp wipe",
"connect": "85.228.18.151:28017",
"request": "85.228.18.151:28027",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "SE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779353838,
"last_update": 1780641031,
"banned": false,
"wipe": 1780595041,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4795,
"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/11511112");
$data = json_decode($json, true);
var_dump($data);