Samp
API für DARK RUSSIA | Сервер: 01
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/9892303json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9892303,
"ip": "185.71.66.173",
"port": 7777,
"query": 7777,
"color": 0,
"city": "Moscow",
"description": null,
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1775111487,
"score": 0,
"last_online": 1776372042,
"icon": null,
"name": "DARK RUSSIA | Сервер: 01",
"connect": "185.71.66.173:7777",
"request": "185.71.66.173:7777",
"map": "Russia",
"gamemode": "D-RP v8.1.0",
"version": "0.3.7-R2",
"numplayers": 37,
"maxplayers": 999,
"bots": 0,
"secured": null,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1753709420,
"last_update": 1776372042,
"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": 146,
"language": "ru",
"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/9892303");
$data = json_decode($json, true);
var_dump($data);