Stormworks: Build and Rescue
API pentru [2] Tricky's | discord.gg/trickys | Sandbox
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/1467481json
{
"response": {
"steam_id": 90285014284751890,
"domain": null,
"id": 1467481,
"ip": "144.76.85.24",
"port": 31024,
"query": 31025,
"color": 0,
"city": "Falkenstein",
"description": "",
"game": 573090,
"owner": null,
"boosts": 1,
"last_offline": 1776201116,
"score": null,
"last_online": 1777249270,
"icon": null,
"name": "[2] Tricky's | discord.gg/trickys | Sandbox",
"connect": "144.76.85.24:31024",
"request": "144.76.85.24:31025",
"map": "Career",
"gamemode": "Stormworks",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1697312582,
"last_update": 1777249270,
"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": 10,
"language": "de",
"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/1467481");
$data = json_decode($json, true);
var_dump($data);