Samp
API für NOWE IP: 83.168.69.6:4000
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/7659642json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7659642,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Frankfurt am Main",
"description": "[]",
"game": 9000035,
"owner": 127620,
"boosts": 1,
"last_offline": 1766289748,
"score": 5,
"last_online": 1765407613,
"icon": null,
"name": "NOWE IP: 83.168.69.6:4000",
"connect": null,
"request": null,
"map": "San Andreas",
"gamemode": "Neverending Derby",
"version": null,
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": true,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1739552717,
"last_update": 1766289748,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": true,
"hide_address": false,
"hide_query": false,
"position_game": 1275,
"language": "de",
"parked": true,
"app": {
"id": 168,
"steam_id": 9000035,
"name": "Samp",
"url": "samp"
},
"server_owner": {
"username": "mrkacu13",
"avatar": "no.jpg",
"last_online": 1769896218
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/7659642");
$data = json_decode($json, true);
var_dump($data);