Day of Dragons
API für (CN) Little Dragon Nest #1
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10757265json
{
"response": {
"steam_id": "90284316880549908",
"domain": null,
"id": 10757265,
"ip": "43.226.57.101",
"port": 7878,
"query": 27215,
"color": 0,
"city": "Nanjing",
"description": null,
"game": 1088090,
"owner": null,
"boosts": 1,
"last_offline": 1776084111,
"score": 0,
"last_online": 1776204066,
"icon": null,
"name": "(CN) Little Dragon Nest #1",
"connect": "43.226.57.101:7878",
"request": "43.226.57.101:27215",
"map": null,
"gamemode": "Day of Dragons",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766255032,
"last_update": 1776204066,
"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": 49,
"language": "zh",
"parked": false,
"app": {
"id": 45862,
"steam_id": 1088090,
"name": "Day of Dragons",
"url": "day-of-dragons"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10757265");
$data = json_decode($json, true);
var_dump($data);