Samp
API für GalaxY I (0.3.7) [RUS/UA]
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/8368738json
{
"response": {
"steam_id": null,
"domain": "s1.galaxy-rpg.online",
"id": 8368738,
"ip": "194.147.32.37",
"port": 7777,
"query": 7777,
"color": 0,
"city": "Dronten",
"description": null,
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1773397886,
"score": 0,
"last_online": 1776361236,
"icon": null,
"name": "GalaxY I (0.3.7) [RUS/UA]",
"connect": "s1.galaxy-rpg.online:7777",
"request": "194.147.32.37:7777",
"map": "San Andreas",
"gamemode": "GalaxY-RPG (PC/Android)",
"version": "0.3.7-R3",
"numplayers": 109,
"maxplayers": 1000,
"bots": 0,
"secured": null,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 41,
"add_date": 1743595184,
"last_update": 1776361236,
"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": 104,
"language": "nl",
"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/8368738");
$data = json_decode($json, true);
var_dump($data);