NEBULOUS: Fleet Command
API pentru [kfi] pirate bay - PvE
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/7411784json
{
"response": {
"steam_id": "90285186090507292",
"domain": null,
"id": 7411784,
"ip": "87.106.119.156",
"port": 7777,
"query": 27016,
"color": 0,
"city": "Berlin",
"description": null,
"game": 887570,
"owner": null,
"boosts": 1,
"last_offline": 1777386204,
"score": 0,
"last_online": 1777606914,
"icon": null,
"name": "[kfi] pirate bay - PvE",
"connect": "87.106.119.156:7777",
"request": "87.106.119.156:27016",
"map": "Singularity (10P)",
"gamemode": "NEBULOUS: Fleet Command",
"version": "0.5.3",
"numplayers": 0,
"maxplayers": 16,
"bots": 2,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1738099546,
"last_update": 1777606914,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5,
"language": "de",
"parked": false,
"app": {
"id": 1559663,
"steam_id": 887570,
"name": "NEBULOUS: Fleet Command",
"url": "nebulous-fleet-command"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/7411784");
$data = json_decode($json, true);
var_dump($data);