Stormworks: Build and Rescue
API pentru Sector Control - Dan Island Reloaded - discord.gg/ZmUxxrCXfH
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10757247json
{
"response": {
"steam_id": "90285013364636678",
"domain": null,
"id": 10757247,
"ip": "68.14.228.12",
"port": 25583,
"query": 25584,
"color": 0,
"city": "Phoenix",
"description": null,
"game": 573090,
"owner": null,
"boosts": 1,
"last_offline": 1774739534,
"score": 0,
"last_online": 1777249247,
"icon": null,
"name": "Sector Control - Dan Island Reloaded - discord.gg/ZmUxxrCXfH",
"connect": "68.14.228.12:25583",
"request": "68.14.228.12:25584",
"map": "Career",
"gamemode": "Stormworks",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766255029,
"last_update": 1777249247,
"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": 8,
"language": "en",
"parked": false,
"app": {
"id": 13818,
"steam_id": 573090,
"name": "Stormworks: Build and Rescue",
"url": "stormworks-build-and-rescue"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10757247");
$data = json_decode($json, true);
var_dump($data);