Day of Dragons
API для Dragonsworld(GER/ENG) Newby Friendly
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7483262json
{
"response": {
"steam_id": "90284543158322192",
"domain": null,
"id": 7483262,
"ip": "23.109.4.119",
"port": 7777,
"query": 27017,
"color": 0,
"city": "Amsterdam",
"description": null,
"game": 1088090,
"owner": null,
"boosts": 1,
"last_offline": 1773261136,
"score": 0,
"last_online": 1776532886,
"icon": null,
"name": "Dragonsworld(GER/ENG) Newby Friendly",
"connect": "23.109.4.119:7777",
"request": "23.109.4.119:27017",
"map": null,
"gamemode": "Day of Dragons",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1739269631,
"last_update": 1776532886,
"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": 25,
"language": "nl",
"parked": false,
"app": {
"id": 45862,
"steam_id": 1088090,
"name": "Day of Dragons",
"url": "day-of-dragons"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7483262");
$data = json_decode($json, true);
var_dump($data);