Samp
API für Everystuff Resurrected [Ultra-H.com]
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/4785087json
{
"response": {
"steam_id": null,
"domain": null,
"id": 4785087,
"ip": "188.165.192.24",
"port": 6253,
"query": 6253,
"color": 0,
"city": "Roubaix",
"description": "",
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1773545567,
"score": 0,
"last_online": 1776361248,
"icon": null,
"name": "Everystuff Resurrected [Ultra-H.com]",
"connect": "188.165.192.24:6253",
"request": "188.165.192.24:6253",
"map": "San Andreas",
"gamemode": "Freeroam DM Stunt Any-Car",
"version": "0.3.7-R3",
"numplayers": 1,
"maxplayers": 30,
"bots": 0,
"secured": null,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1718269502,
"last_update": 1776361248,
"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": 269,
"language": "fr",
"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/4785087");
$data = json_decode($json, true);
var_dump($data);