Samp
API für *** [0.3.7]Polski Serwer Stunt-DM - Zapraszamy! **
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10215835json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10215835,
"ip": "51.83.172.144",
"port": 4000,
"query": 4000,
"color": 0,
"city": "Warsaw",
"description": null,
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1776147117,
"score": 0,
"last_online": 1776361319,
"icon": null,
"name": "*** [0.3.7]Polski Serwer Stunt-DM - Zapraszamy! **",
"connect": "51.83.172.144:4000",
"request": "51.83.172.144:4000",
"map": "Stunt DM",
"gamemode": "[PL]Stunt-DM v1.0",
"version": "0.3.7-R3",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": null,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1756581623,
"last_update": 1776361319,
"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": 503,
"language": "pl",
"parked": false,
"app": {
"id": 168,
"steam_id": 9000035,
"name": "Samp",
"url": "samp"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10215835");
$data = json_decode($json, true);
var_dump($data);