Stormworks: Build and Rescue
API für 4Netplayers Ratownictwo Zaborowo
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11394112json
{
"response": {
"steam_id": "90284726370342943",
"domain": null,
"id": 11394112,
"ip": "51.83.237.116",
"port": 26100,
"query": 26101,
"color": 0,
"city": "Ożarów Mazowiecki",
"description": null,
"game": 573090,
"owner": null,
"boosts": 1,
"last_offline": 1777255956,
"score": 0,
"last_online": 1776798697,
"icon": null,
"name": "4Netplayers Ratownictwo Zaborowo",
"connect": "51.83.237.116:26100",
"request": "51.83.237.116:26101",
"map": "Career",
"gamemode": "Stormworks",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": false,
"private": true,
"country": "PL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774596903,
"last_update": 1777255956,
"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": 67,
"language": "pl",
"parked": false,
"app": {
"id": 13818,
"steam_id": 573090,
"name": "Stormworks: Build and Rescue",
"url": "stormworks-build-and-rescue"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11394112");
$data = json_decode($json, true);
var_dump($data);